feat: add Avian as a new LLM provider#10871
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
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.
|
I have read the CLA Document and I hereby sign the CLA |
|
Fixed the trailing slash issue flagged by cubic-dev — updated base URL to |
|
Friendly follow-up — this PR is still active and ready for review. Would appreciate a look when you get a chance! cc @sestinj |
|
Friendly follow-up — this PR is still active and ready for review. All feedback has been addressed. Would appreciate a look when you get a chance! cc @sestinj |
|
Hey @sestinj @RomneyDa — friendly follow-up on this PR. Avian is an OpenAI-compatible inference provider that's already live and powering apps like ISEKAI ZERO. This is a lightweight integration (standard OpenAI-compatible endpoint) and we're happy to address any feedback or make adjustments. Would love to get this merged if you have a moment to review. Thanks! |
|
Merged latest upstream main to resolve merge conflicts. Kept both Avian and new Tensorix provider in autodetect.ts. |
RomneyDa
left a comment
There was a problem hiding this comment.
@avianion can you check PROVIDER_HANDLES_TEMPLATING, PROVIDER_SUPPORTS_IMAGES, and other fields which will cause issues here? Look up e.g. "nebius" to see where needs to be added.
Also, looks like the logo might be just a green square?
|
Addressed feedback in d7f2f57:
|
|
@RomneyDa All feedback has been addressed in commit d7f2f57 — added |
|
Hi @RomneyDa, just wanted to flag that all the feedback from your review has been addressed in commit d7f2f57:
The trailing slash on the base URL ( Would you mind taking another look when you get a chance? Thanks! |
|
@RomneyDa All your feedback has been addressed in commit d7f2f57:
Could you re-review when you get a chance? Thank you! |
|
Addressed the remaining review feedback: Fixes in this update (a2f4b86):
Previously addressed (d7f2f57, f3345db):
CI note: The 7 failing "Continuous AI" checks all show "Agent encountered an error" — these are automated AI agent tasks on hub.continue.dev that appear to be experiencing internal errors, not issues caused by this PR's code changes. All actual CI checks (build, test, lint, prettier, core-checks, gui-checks, packages-checks, e2e tests) are passing. |
|
All review feedback has been addressed: logo updated to proper 512x512 PNG, trailing slash added to base URL, PROVIDER_HANDLES_TEMPLATING/PROVIDER_SUPPORTS_IMAGES/PARALLEL_PROVIDERS arrays updated, and schema enums added. CI is fully green. @RomneyDa could you re-review when you get a chance? |
|
Merged latest
None of these were caused by the Avian provider changes. |
|
Addressed feedback: added Avian to the allProviders array. |
|
@RomneyDa Hi — just verifying each item from your review against the current state of the code:
All items from your review have been addressed in commits d7f2f57, a2f4b86, and f3345db. Could you re-review when you get a chance? Thanks! |
|
All feedback from the review has been addressed — PROVIDER_HANDLES_TEMPLATING, PROVIDER_SUPPORTS_IMAGES, PARALLEL_PROVIDERS, logo, provider schemas, and trailing slash. Ready for re-review when you get a chance @RomneyDa! |
|
@RomneyDa Just following up — all the items from your review have been addressed (PROVIDER_HANDLES_TEMPLATING, PROVIDER_SUPPORTS_IMAGES, PARALLEL_PROVIDERS, logo updated to 512x512 PNG, schema enums added, trailing slash fixed). Would you be able to take another look when you get a chance? |
|
@RomneyDa Friendly ping — all items from your review have been addressed. Would you be able to take another look when you get a chance? Thanks! |
|
Independent verification of all 6 review items:
All items from the review have been addressed. @RomneyDa could you re-review when you get a chance? Thanks! |
560ec1c to
5a62911
Compare
|
Rebased on latest main to resolve merge conflicts. Squashed into a single clean commit. Changes verified:
@RomneyDa all review feedback from your earlier review has been addressed in this rebased version. Ready for re-review. |
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 provider with streaming, tools, image support, and parallel generation for DeepSeek V3.2, Kimi K2.5, GLM-5, and MiniMax M2.5. Includes UI, docs,
llm-infometadata, schema updates, and autodetect support.New Features
avianathttps://api.avian.io/v1/(trailing-slash fix); addedllm-infoprovider and model metadata.config-typesenums and VS Code schema.Migration
AVIAN_API_KEYor enter it in the UI.provider: "avian"(e.g.,deepseek/deepseek-v3.2).Written for commit 5a62911. Summary will update on new commits.