mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
fix(command-code): omit max_tokens when client omits it; correct registry caps (#5221)
Integrated into release/v3.8.40 — corrective max_tokens part already cherry-picked (e8d13ec17); this brings the registry maxOutputTokens caps. Thanks @adivekar-utexas.
This commit is contained in:
@@ -74,70 +74,70 @@ export const command_codeProvider: RegistryEntry = {
|
||||
name: "DeepSeek V4 Pro (CC)",
|
||||
supportsReasoning: true,
|
||||
contextLength: 1000000,
|
||||
maxOutputTokens: 384000,
|
||||
maxOutputTokens: 131072,
|
||||
},
|
||||
{
|
||||
id: "deepseek/deepseek-v4-flash",
|
||||
name: "DeepSeek V4 Flash (CC)",
|
||||
supportsReasoning: true,
|
||||
contextLength: 1000000,
|
||||
maxOutputTokens: 384000,
|
||||
maxOutputTokens: 131072,
|
||||
},
|
||||
{
|
||||
id: "moonshotai/Kimi-K2.6",
|
||||
name: "Kimi K2.6 (CC)",
|
||||
supportsReasoning: true,
|
||||
contextLength: 262144,
|
||||
maxOutputTokens: 131072,
|
||||
maxOutputTokens: 65536,
|
||||
},
|
||||
{
|
||||
id: "moonshotai/Kimi-K2.5",
|
||||
name: "Kimi K2.5 (CC)",
|
||||
supportsReasoning: true,
|
||||
contextLength: 262144,
|
||||
maxOutputTokens: 131072,
|
||||
maxOutputTokens: 65536,
|
||||
},
|
||||
{
|
||||
id: "zai-org/GLM-5.1",
|
||||
name: "GLM-5.1 (CC)",
|
||||
supportsReasoning: true,
|
||||
contextLength: 200000,
|
||||
maxOutputTokens: 131072,
|
||||
maxOutputTokens: 32768,
|
||||
},
|
||||
{
|
||||
id: "zai-org/GLM-5",
|
||||
name: "GLM-5 (CC)",
|
||||
supportsReasoning: true,
|
||||
contextLength: 200000,
|
||||
maxOutputTokens: 131072,
|
||||
maxOutputTokens: 32768,
|
||||
},
|
||||
{
|
||||
id: "MiniMaxAI/MiniMax-M2.7",
|
||||
name: "MiniMax M2.7 (CC)",
|
||||
supportsReasoning: true,
|
||||
contextLength: 1048576,
|
||||
maxOutputTokens: 131072,
|
||||
maxOutputTokens: 65536,
|
||||
},
|
||||
{
|
||||
id: "MiniMaxAI/MiniMax-M2.5",
|
||||
name: "MiniMax M2.5 (CC)",
|
||||
supportsReasoning: true,
|
||||
contextLength: 1048576,
|
||||
maxOutputTokens: 131072,
|
||||
maxOutputTokens: 65536,
|
||||
},
|
||||
{
|
||||
id: "Qwen/Qwen3.6-Max-Preview",
|
||||
name: "Qwen 3.6 Max (CC)",
|
||||
supportsReasoning: true,
|
||||
contextLength: 1000000,
|
||||
maxOutputTokens: 131072,
|
||||
maxOutputTokens: 32768,
|
||||
},
|
||||
{
|
||||
id: "Qwen/Qwen3.6-Plus",
|
||||
name: "Qwen 3.6 Plus (CC)",
|
||||
supportsReasoning: true,
|
||||
contextLength: 1000000,
|
||||
maxOutputTokens: 131072,
|
||||
maxOutputTokens: 32768,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user