Skip to content

feat: add Apertis LLM provider with dedicated SDK#1303

Closed
theQuert wants to merge 1 commit into
anomalyco:devfrom
theQuert:feat/apertis-provider-v2
Closed

feat: add Apertis LLM provider with dedicated SDK#1303
theQuert wants to merge 1 commit into
anomalyco:devfrom
theQuert:feat/apertis-provider-v2

Conversation

@theQuert

Copy link
Copy Markdown

Summary

  • Add Apertis provider with dedicated @apertis/ai-sdk-provider npm package
  • 24x24 SVG logo using currentColor for dark/light theme compatibility
  • 36 representative model configs across 10 families (Claude, GPT, Gemini, DeepSeek, Grok, GLM, Qwen, Llama, Mistral, MiniMax)
  • All thinking models include [interleaved] section with field = "reasoning_content"
  • Full model catalog (500+) available via API: https://api.apertis.ai/api/models

Addresses review feedback from #668

  • Logo: replaced embedded PNG with proper 24x24 SVG + currentColor
  • Interleaved reasoning: documented with [interleaved] section on all thinking models
  • SDK: switched from @ai-sdk/openai-compatible to dedicated @apertis/ai-sdk-provider

Supersedes #668

Validation

  • bun validate passes with exit code 0

- Add provider.toml with @apertis/ai-sdk-provider SDK
- Add 24x24 SVG logo using currentColor for theme compatibility
- Add 36 model configs covering Claude, GPT, Gemini, DeepSeek,
  Grok, GLM, Qwen, Llama, Mistral, and MiniMax families
- Thinking models include [interleaved] section with
  field = "reasoning_content"
- All models pass validation
@theQuert

Copy link
Copy Markdown
Author

Hi @rekram1-node — friendly bump on this one.

This PR supersedes #668 with all of your earlier review feedback addressed:

  • Logo: replaced the embedded PNG with a 24x24 SVG using `currentColor`, matching Anthropic / OpenRouter style.
  • Interleaved reasoning: every thinking model now declares `[interleaved] field = "reasoning_content"` (Claude thinking variants, GPT-5.1 thinking, Grok 4.1 thinking, DeepSeek R1, DeepSeek V3.2 thinking, GLM-4.7, MiniMax M2.1, Qwen3 Max thinking).
  • SDK: switched from `@ai-sdk/openai-compatible` to the dedicated `@apertis/ai-sdk-provider` package (just released v3.0.0 on AI SDK v6 — used by the matching opencode integration in feat: add Apertis provider integration opencode#20200).

`bun validate` passes. Happy to address anything else. Thanks!

@rekram1-node

Copy link
Copy Markdown
Collaborator

Closing this pull request as stale due to inactivity. Feel free to reopen it or submit a new pull request if the work is resumed.

@theQuert

Copy link
Copy Markdown
Author

@rekram1-node This PR is ready for review.

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.

2 participants