feat: add Avian as a new LLM provider#2139
feat: add Avian as a new LLM provider#2139avianion wants to merge 1 commit intostackblitz-labs:mainfrom
Conversation
e53c79f to
4cb9b62
Compare
Add Avian (avian.io) as a provider for accessing open-source models including DeepSeek V3.2, Kimi K2.5, GLM-5, and MiniMax M2.5 via an OpenAI-compatible API at api.avian.io/v1. Supports both static model list and dynamic model discovery via the /v1/models endpoint.
4cb9b62 to
7367046
Compare
|
Hey @Stijnus — just following up on this PR. It adds Avian as a new LLM provider following the same pattern as the Cerebras + Fireworks PR (#2113). Only 3 files changed:
CI is green and it's mergeable. Would appreciate a review when you get a chance! |
|
Friendly follow-up — this PR is still active and ready for review. Would appreciate a look when you get a chance! cc @Stijnus |
|
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 @Stijnus |
|
Hey @thecodacus @dustinwloring1988 — 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! |
Summary
api.avian.io/v1@ai-sdk/openaiwith custombaseURL(no new dependencies)/v1/modelsAvailable Models
Changes
app/lib/modules/llm/providers/avian.ts— New provider class extendingBaseProvider, follows the Moonshot patternapp/lib/modules/llm/registry.ts— Import and exportAvianProvider.env.example— AddAVIAN_API_KEYentryTest plan