fix: update args fallback (#1357)

This commit is contained in:
cthomas
2026-03-11 16:08:29 -07:00
committed by GitHub
parent 0a5e3d6132
commit 2cf6de9813

View File

@@ -156,7 +156,12 @@ function buildModelSettings(
settings = bedrockSettings; settings = bedrockSettings;
} else { } else {
// For BYOK/unknown providers, return generic settings with parallel_tool_calls // For BYOK/unknown providers, return generic settings with parallel_tool_calls
settings = {}; settings = {
parallel_tool_calls:
typeof updateArgs?.parallel_tool_calls === "boolean"
? updateArgs.parallel_tool_calls
: true,
};
} }
// Apply max_output_tokens only when provider_type is present and the value // Apply max_output_tokens only when provider_type is present and the value