feat(providers): add CrofAI as a built-in API-key provider (#1604)

Integrated into release/v3.7.0 — CrofAI is now a first-class built-in provider with 17 seed models and full OpenAI-compatible routing.
This commit is contained in:
Jean Brito
2026-04-25 17:22:29 -03:00
committed by GitHub
parent 94ae0f1921
commit fa8ca5dcde

View File

@@ -962,6 +962,37 @@ export const REGISTRY: Record<string, RegistryEntry> = {
],
},
crof: {
id: "crof",
alias: "crof",
format: "openai",
executor: "default",
baseUrl: "https://crof.ai/v1/chat/completions",
authType: "apikey",
authHeader: "bearer",
// Seed list — runtime /v1/models discovery keeps this fresh.
// Source: GET https://crof.ai/v1/models (2026-04-25).
models: [
{ id: "deepseek-v4-pro", name: "DeepSeek V4 Pro" },
{ id: "deepseek-v3.2", name: "DeepSeek V3.2" },
{ id: "kimi-k2.6", name: "Kimi K2.6" },
{ id: "kimi-k2.6-precision", name: "Kimi K2.6 (Precision)" },
{ id: "kimi-k2.5", name: "Kimi K2.5" },
{ id: "kimi-k2.5-lightning", name: "Kimi K2.5 (Lightning)" },
{ id: "glm-5.1", name: "GLM 5.1" },
{ id: "glm-5.1-precision", name: "GLM 5.1 (Precision)" },
{ id: "glm-5", name: "GLM 5" },
{ id: "glm-4.7", name: "GLM 4.7" },
{ id: "glm-4.7-flash", name: "GLM 4.7 Flash" },
{ id: "gemma-4-31b-it", name: "Gemma 4 31B" },
{ id: "minimax-m2.5", name: "MiniMax M2.5" },
{ id: "qwen3.6-27b", name: "Qwen3.6 27B" },
{ id: "qwen3.5-397b-a17b", name: "Qwen3.5 397B A17B" },
{ id: "qwen3.5-9b", name: "Qwen3.5 9B" },
{ id: "qwen3.5-9b-chat", name: "Qwen3.5 9B (Chat)" },
],
},
alicode: {
id: "alicode",
alias: "alicode",