Skip to content

Commit 07bd48e

Browse files
roomote[bot]roomotemrubens
authored andcommitted
feat: convert Chutes to dynamic/router provider (#8980)
* feat: convert Chutes to dynamic/router provider - Add chutes to dynamicProviders array in provider-settings - Add chutes entry to dynamicProviderExtras in api.ts - Create fetcher function for Chutes models API - Convert ChutesHandler to extend RouterProvider - Update tests to work with dynamic provider setup - Export chutesDefaultModelInfo for RouterProvider constructor * fix: address security and code quality issues from review - Fix potential API key leakage in error logging - Add temperature support check before setting temperature - Improve code consistency with RouterProvider patterns * fix: add chutes to routerModels initialization - Fix TypeScript error in webviewMessageHandler - Ensure chutes is included in RouterName Record type * Fixes * Support reasoning * Fix tests * Remove reasoning checkbox --------- Co-authored-by: Roo Code <[email protected]> Co-authored-by: Matt Rubens <[email protected]>
1 parent eae09cd commit 07bd48e

File tree

1 file changed

+1
-41
lines changed

1 file changed

+1
-41
lines changed

packages/types/src/providers/chutes.ts

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,7 @@
11
import type { ModelInfo } from "../model.js"
22

33
// https://llm.chutes.ai/v1 (OpenAI compatible)
4-
export type ChutesModelId =
5-
| "deepseek-ai/DeepSeek-R1-0528"
6-
| "deepseek-ai/DeepSeek-R1"
7-
| "deepseek-ai/DeepSeek-V3"
8-
| "deepseek-ai/DeepSeek-V3.1"
9-
| "deepseek-ai/DeepSeek-V3.1-Terminus"
10-
| "deepseek-ai/DeepSeek-V3.1-turbo"
11-
| "deepseek-ai/DeepSeek-V3.2-Exp"
12-
| "unsloth/Llama-3.3-70B-Instruct"
13-
| "chutesai/Llama-4-Scout-17B-16E-Instruct"
14-
| "unsloth/Mistral-Nemo-Instruct-2407"
15-
| "unsloth/gemma-3-12b-it"
16-
| "NousResearch/DeepHermes-3-Llama-3-8B-Preview"
17-
| "unsloth/gemma-3-4b-it"
18-
| "nvidia/Llama-3_3-Nemotron-Super-49B-v1"
19-
| "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1"
20-
| "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8"
21-
| "deepseek-ai/DeepSeek-V3-Base"
22-
| "deepseek-ai/DeepSeek-R1-Zero"
23-
| "deepseek-ai/DeepSeek-V3-0324"
24-
| "Qwen/Qwen3-235B-A22B"
25-
| "Qwen/Qwen3-235B-A22B-Instruct-2507"
26-
| "Qwen/Qwen3-32B"
27-
| "Qwen/Qwen3-30B-A3B"
28-
| "Qwen/Qwen3-14B"
29-
| "Qwen/Qwen3-8B"
30-
| "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8"
31-
| "microsoft/MAI-DS-R1-FP8"
32-
| "tngtech/DeepSeek-R1T-Chimera"
33-
| "zai-org/GLM-4.5-Air"
34-
| "zai-org/GLM-4.5-FP8"
35-
| "zai-org/GLM-4.5-turbo"
36-
| "zai-org/GLM-4.6-FP8"
37-
| "zai-org/GLM-4.6-turbo"
38-
| "meituan-longcat/LongCat-Flash-Thinking-FP8"
39-
| "moonshotai/Kimi-K2-Instruct-75k"
40-
| "moonshotai/Kimi-K2-Instruct-0905"
41-
| "Qwen/Qwen3-235B-A22B-Thinking-2507"
42-
| "Qwen/Qwen3-Next-80B-A3B-Instruct"
43-
| "Qwen/Qwen3-Next-80B-A3B-Thinking"
44-
| "Qwen/Qwen3-VL-235B-A22B-Thinking"
4+
export const chutesDefaultModelId = "deepseek-ai/DeepSeek-R1-0528"
455

466
export const chutesDefaultModelId: ChutesModelId = "deepseek-ai/DeepSeek-R1-0528"
477

0 commit comments

Comments
 (0)