Skip to content

feat(provider): add API Route model provider - #7044

Closed
DennyHo0917 wants to merge 1 commit into
1Panel-dev:v2from
DennyHo0917:feat/add-api-route-provider
Closed

DennyHo0917 wants to merge 1 commit into
1Panel-dev:v2from
DennyHo0917:feat/add-api-route-provider

Conversation

@DennyHo0917

Copy link
Copy Markdown

Description

This PR adds API Route as a built-in model provider in MaxKB.

API Route provides access to 100+ mainstream AI models including OpenAI, Anthropic Claude, DeepSeek, Google Gemini, and Qwen through a unified endpoint.

Changes

  1. Added ApiRouteModelProvider under apps/models_provider/impl/api_route_model_provider/:
    • Pre-configured with LLM and Embedding models (gpt-4o, gpt-4o-mini, claude-3-5-sonnet, deepseek-chat, deepseek-reasoner, text-embedding-3-small, etc.).
    • Integrated provider icon and credential validations.
  2. Registered model_api_route_provider in apps/models_provider/constants/model_provider_constants.py.

Testing

  • Configured provider with api_base = https://global.api-route.com/v1 and verified credential validation and model invocation.

@liuruibin

Copy link
Copy Markdown
Member

no plan

@liuruibin liuruibin closed this Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants