Skip to content

Commit d0fe260

Browse files
committed
Remove reasoning checkbox
1 parent 7234561 commit d0fe260

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/api/providers/chutes.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ export class ChutesHandler extends RouterProvider implements SingleCompletionHan
5353
params.temperature = this.options.modelTemperature ?? info.temperature
5454
}
5555

56-
// Add thinking parameter if reasoning is enabled and model supports it
57-
if (this.options.enableReasoningEffort && info.supportsReasoningBinary) {
58-
;(params as any).thinking = { type: "enabled" }
59-
}
60-
6156
return params
6257
}
6358

src/api/providers/fetchers/chutes.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const ChutesModelSchema = z.object({
1414
context_length: z.number(),
1515
max_model_len: z.number(),
1616
input_modalities: z.array(z.string()),
17-
supported_features: z.array(z.string()).optional(),
1817
})
1918

2019
const ChutesModelsResponseSchema = z.object({ data: z.array(ChutesModelSchema) })
@@ -36,14 +35,12 @@ export async function getChutesModels(apiKey?: string): Promise<Record<string, M
3635
const contextWindow = m.context_length
3736
const maxTokens = m.max_model_len
3837
const supportsImages = m.input_modalities.includes("image")
39-
const supportsReasoningBinary = m.supported_features?.includes("reasoning") ?? false
4038

4139
const info: ModelInfo = {
4240
maxTokens,
4341
contextWindow,
4442
supportsImages,
4543
supportsPromptCache: false,
46-
supportsReasoningBinary,
4744
inputPrice: 0,
4845
outputPrice: 0,
4946
description: `Chutes AI model: ${m.id}`,

0 commit comments

Comments
 (0)