feat: add Avian as a new LLM provider#10871
Open
avianion wants to merge 3 commits intocontinuedev:mainfrom
Open
feat: add Avian as a new LLM provider#10871avianion wants to merge 3 commits intocontinuedev:mainfrom
avianion wants to merge 3 commits intocontinuedev:mainfrom
Conversation
Add Avian (https://api.avian.io/v1) as an OpenAI-compatible provider with support for DeepSeek V3.2, Kimi K2.5, GLM-5, and MiniMax M2.5 models. Auth via AVIAN_API_KEY environment variable.
|
All contributors have signed the CLA ✍️ ✅ |
Contributor
There was a problem hiding this comment.
1 issue found across 13 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="packages/openai-adapters/src/index.ts">
<violation number="1" location="packages/openai-adapters/src/index.ts:107">
P2: Inconsistent trailing slash in Avian base URL - should use `/v1/` to match other providers and prevent endpoint resolution issues</violation>
</file>
Since this is your first cubic review, here's how it works:
- cubic automatically reviews your code and comments on bugs and improvements
- Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
- Add one-off context when rerunning by tagging
@cubic-dev-aiwith guidance or docs links (includingllms.txt) - Ask questions if you need clarification on any suggestion
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
Fixed the trailing slash issue flagged by cubic-dev — updated base URL to |
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
Adds Avian as a new OpenAI-compatible LLM provider. Avian provides fast inference for top open-source models.
Available Models
Changes (13 files)
core/llm/llms/Avian.tscore/llm/llms/index.tscore/llm/autodetect.tscore/llm/toolSupport.tspackages/openai-adapters/src/types.tspackages/openai-adapters/src/index.tspackages/llm-info/src/providers/avian.tspackages/llm-info/src/index.tsgui/src/pages/AddNewModel/configs/models.tsgui/src/pages/AddNewModel/configs/providers.tsgui/public/logos/avian.pngdocs/customize/model-providers/more/avian.mdxdocs/docs.jsonUsage
Test plan
cc @RomneyDa @sestinj — follows the same pattern as the z.AI provider PR (#10638). Happy to address any feedback!
Continue Tasks: ❌ 7 failed — View all
Summary by cubic
Add Avian as an OpenAI-compatible LLM provider with streaming and tool calling for DeepSeek V3.2, Kimi K2.5, GLM-5, and MiniMax M2.5. Includes UI, docs, and a trailing-slash base URL fix in the OpenAI adapter.
New Features
Migration
Written for commit eb83948. Summary will update on new commits.