Skip to content

feat(llm): add native provider packages#33689

Open
nexxeln wants to merge 3 commits into
devfrom
native-provider-packages
Open

feat(llm): add native provider packages#33689
nexxeln wants to merge 3 commits into
devfrom
native-provider-packages

Conversation

@nexxeln

@nexxeln nexxeln commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

  • define the uniform model(id, settings) provider package contract used by the agreed config shape
  • implement that contract directly in the existing OpenAI, Anthropic, OpenAI-compatible, and Amazon Bedrock provider modules
  • map package headers, body, and limits onto the existing executable route configuration
  • expose explicit OpenAI Responses and Chat package paths while keeping the root OpenAI path as the stable Responses default

This only establishes the LLM-side boundary for a mechanical core call:

module.model(effective.id, {
  ...effective.settings,
  headers: effective.headers,
  body: effective.body,
  limits: model.limit,
})

Core config parsing, overlay merging, package loading, and credential injection will follow separately. No new provider or protocol implementation is introduced here.

Testing

  • bun typecheck from packages/llm
  • bun test --timeout 30000 --only-failures from packages/llm
  • repository pre-push typecheck across 25 packages

Stack

  1. feat(llm): add native provider packages #33689 👈 current
  2. feat(core): migrate native provider config #33697

@nexxeln nexxeln force-pushed the native-provider-packages branch from 9848587 to d1446a9 Compare June 24, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant