-
Notifications
You must be signed in to change notification settings - Fork 423
feat: add Berget.AI provider #697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Add Berget.AI as an OpenAI-compatible provider with base URL api.berget.ai/v1. Models included: - Text: Llama 3.3 70B, Qwen3 32B, GPT-OSS-120B, GLM 4.7, Mistral Small 3.2 24B - Embedding: Multilingual-E5-large-instruct, Multilingual-E5-large - Rerank: bge-reranker-v2-m3 - Speech-to-Text: KB-Whisper-Large
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds Berget.AI as a new OpenAI-compatible provider with comprehensive model support across text generation, embeddings, reranking, and speech-to-text capabilities.
Changes:
- Adds Berget.AI provider configuration using
@ai-sdk/openai-compatiblenpm package - Configures 5 text generation models (Llama 3.3 70B, Qwen3 32B, GPT-OSS-120B, GLM 4.7, Mistral Small 3.2)
- Adds 2 embedding models, 1 reranker model, and 1 speech-to-text model
- Includes provider logo in SVG format
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| providers/berget/provider.toml | Provider configuration with API endpoint, npm package, and environment variable |
| providers/berget/models/zai-org/GLM-4.7.toml | GLM 4.7 text generation model configuration |
| providers/berget/models/openai/gpt-oss-120b.toml | GPT-OSS-120B text generation model configuration |
| providers/berget/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml | Mistral Small 3.2 text generation model configuration |
| providers/berget/models/meta-llama/Llama-3.3-70B-Instruct.toml | Llama 3.3 70B Instruct text generation model configuration |
| providers/berget/models/intfloat/multilingual-e5-large.toml | Multilingual E5 large embedding model configuration |
| providers/berget/models/intfloat/multilingual-e5-large-instruct.toml | Multilingual E5 large instruct embedding model configuration |
| providers/berget/models/Qwen/Qwen3-32B.toml | Qwen3 32B text generation model configuration |
| providers/berget/models/KBLab/kb-whisper-large.toml | KB-Whisper-Large speech-to-text model configuration |
| providers/berget/models/BAAI/bge-reranker-v2-m3.toml | BGE reranker v2-m3 model configuration |
| providers/berget/logo.svg | Berget.AI provider logo |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
providers/berget/models/mistralai/Mistral-Small-3.2-24B-Instruct-2506.toml
Outdated
Show resolved
Hide resolved
- Change Mistral family from 'mistral' to 'mistral-small' for consistency - Fix Llama 3.3 70B knowledge date from '2024-12' to '2023-12' - Set tool_call to false for KB-Whisper-Large (speech-to-text models don't support tool calling)
|
Any news on when to merge this or any review comments? |
Summary
Add Berget.AI as an OpenAI-compatible provider with base URL
api.berget.ai/v1.Models Added
Details
providers/berget/provider.toml@ai-sdk/openai-compatiblenpm packageBERGET_API_KEY