Conversation
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search results, I found one potentially related PR: Related PR:
The other result (#4477 - Gatewayz.ai) is a different gateway provider and not directly related. |
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
cb5a573 to
a677721
Compare
Add 27 models for LLM Gateway provider including: - Claude: 3.5 Sonnet, 3.7 Sonnet, Sonnet 4.5, Opus 4.5 - GPT: 4o, 4o-mini, 4.1, o3-mini, o3 - Gemini: 2.0 Flash, 2.5 Flash, 2.5 Pro - Grok: 3, 3 Mini, 4 - DeepSeek: V3, R1 - Llama: 3.3 70B, 4 Scout - Qwen: Plus, Qwen3 Max - GLM: 4.5, 4.7 - Mistral Large - Kimi K2 - Sonar Pro Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9b4c3ab to
0d8f6d7
Compare
Resolve conflicts: - use-providers.ts: keep both opencode-go and llmgateway entries - bun.lock: regenerated after merge Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Keep only 53 models with tool calling support suitable for coding (Claude, GPT, Gemini, DeepSeek, Grok, Kimi, Qwen, Llama, Mistral). Remove image-gen, search-only, guard, nano, and dated variant models. Add X-Source header to OpenRouter provider config. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Include all 126 models that support tool calling and text output. Only image generation models are excluded. This adds back GLM, Minimax, Seed, Kimi, and other models that were previously over-filtered. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Resolve conflicts: - provider.ts: keep both gitlab-ai-provider rename and llmgateway import - bun.lock: accept upstream ghostty-web entry with sha hash Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
| const BUILTIN_PROVIDERS: Record<string, Provider> = { | ||
| llmgateway: { | ||
| id: "llmgateway", | ||
| name: "LLM Gateway", | ||
| api: "https://api.llmgateway.io/v1", | ||
| npm: "@llmgateway/ai-sdk-provider", | ||
| env: ["LLM_GATEWAY_API_KEY", "LLMGATEWAY_API_KEY"], | ||
| models: { |
There was a problem hiding this comment.
Can you PR this in models.dev instead? I dont want to maintain a list in source code here if we can help it...
There was a problem hiding this comment.
The llmgateway models are now sourced from models.dev instead of being maintained as a hardcoded list in source code. See: anomalyco/models.dev#698 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
What does this PR do?
How did you verify your code works?
Fixes: #7848