• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

accordproject / template-engine / 37493276073
73%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 04:11PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Canceled at 28 Oct 2026 04:14PM UTC via web
37493276073

push

github

web-flow
feat(llm): make provider SDKs optional peers and allow injecting SDK loaders (#189)

* feat(llm): make provider SDKs optional peers and allow injecting SDK loaders

The LLM provider SDKs were optionalDependencies, which npm installs by
default, so every consumer pulled ~62 MB of SDKs. They were also loaded via
import(variable), which compiles to require(variable) under CommonJS and
cannot be resolved by bundlers such as Vite.

- Move groq-sdk, openai, @anthropic-ai/sdk, @openrouter/sdk, @google/genai
  and @mistralai/mistralai to optional peerDependencies (and devDependencies
  for the engine's own builds and tests).
- Add SdkLoader / SdkLoaders / ReasonerOptions and LLMExecutorOptions so
  callers can supply literal `() => import('<sdk>')` loaders via
  createReasoner(config, { sdkLoaders }), new LLMExecutor(template, config,
  { sdkLoaders }) or new TemplateArchiveProcessor(template, llmConfig,
  { sdkLoaders }). Without a loader the SDK is still imported by name, so
  Node behaviour is unchanged. ollama and openai-compatible fall back to the
  openai loader.
- Exclude all six SDKs from the UMD bundle.
- Document installing the SDKs and passing sdkLoaders in bundled apps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ467z9dpemrwhzRxcAs11
Signed-off-by: Claude <noreply@anthropic.com>

* refactor(llm): pass sdkLoaders directly instead of an options object

LLMExecutorOptions and ReasonerOptions only wrapped sdkLoaders, and their
names read as more LLM configuration alongside LLMExecutorConfig. Take
SdkLoaders as the optional last argument of createReasoner, LLMExecutor
and TemplateArchiveProcessor instead, and drop both wrapper types.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ467z9dpemrwhzRxcAs11
Signed-off-by: Claude <noreply@anthropic.com>

* test(llm): cover injected SDK loaders in a bundled browser app

- Add a Playwright... (continued)
Source Files on build 37493276073
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #37493276073
  • b8812caa on github
  • Prev Build on main (#34939324942)
  • Next Build on main (#37493649721)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc