feat: add Berget.AI provider#697
Merged
rekram1-node merged 3 commits intoanomalyco:devfrom Feb 3, 2026
Merged
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
Contributor
There was a problem hiding this comment.
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)
Contributor
Author
|
Any news on when to merge this or any review comments? |
Contributor
Author
|
Any news? |
Contributor
|
u can @ me, i get a lot of prs so Its hard to track them all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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