We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7907fdb commit 156c906Copy full SHA for 156c906
src/api/transform/model-params.ts
@@ -87,6 +87,9 @@ export function getModelParams({
87
reasoningEffort = customReasoningEffort ?? model.reasoningEffort
88
}
89
90
+ // TODO: We should consolidate this logic to compute `maxTokens` with
91
+ // `getModelMaxOutputTokens` in order to maintain a single source of truth.
92
+
93
const isAnthropic = format === "anthropic" || (format === "openrouter" && modelId.startsWith("anthropic/"))
94
95
// For "Hybrid" reasoning models, we should discard the model's actual
0 commit comments