fix(bedrock): guard Mantle thinking options

This commit is contained in:
Vincent Koc
2026-06-11 06:52:11 +09:00
parent fdf1ec9f5c
commit f0bbe4d95e

View File

@@ -148,7 +148,7 @@ export function createMantleAnthropicStreamFn(deps?: {
base.maxTokens || 0,
model.maxTokens,
reasoning,
options.thinkingBudgets,
options?.thinkingBudgets,
);
return streamFn(model as Model<"anthropic-messages">, context, {
...base,