Repository navigation
fix(claude): remove top_p for Haiku 4.5 and Sonnet 4.5 on remaining hosts - #5781
bhaveshpatel640 wants to merge 1 commit into
Conversation
…osts Co-authored-by: Cursor <cursoragent@cursor.com>
SDK live feature checksResult: failed (130/306 scenarios) Informational — does not block merge.
Failures
|
|
Folded into #5760. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f21fa5a. Configure here.
| mode: chat | ||
| model: claude-haiku-4-5 | ||
| removeParams: |
There was a problem hiding this comment.
Missing context window on aliases
Low Severity
These chat entries include limits but omit context_window. First-party Anthropic and the dated Foundry siblings set 200000, and Azure Foundry does not publish a separate window.
Additional Locations (1)
Triggered by project rule: Context windows
Reviewed by Cursor Bugbot for commit f21fa5a. Configure here.
| model: databricks-claude-haiku-4-5 | ||
| provisioning: serverless | ||
| removeParams: | ||
| - top_p |
There was a problem hiding this comment.
Inherited effort not stripped
Medium Severity
The new removeParams on databricks-claude-haiku-4-5 lists only top_p. Databricks inherits reasoning_effort default medium, which Haiku 4.5 rejects. Same-host system.ai.claude-haiku-4-5 already drops reasoning_effort.
Triggered by project rule: Context windows
Reviewed by Cursor Bugbot for commit f21fa5a. Configure here.


Summary
Adds
top_ptoremoveParamson the Haiku 4.5 and Sonnet 4.5 entries that were missing it (22 files):aws-bedrock-mantle,aws-bedrock(Sonnet 4.5au/global/jp),azure-ai-foundry,microsoft-foundry,google-vertexanddatabricks.Why
Claude Haiku 4.5 and Sonnet 4.5 return a 400 when both
temperatureandtop_pare sent (AWS, Anthropic). Clients that send both (e.g. Copilot in IntelliJ) fail unless the gateway strips one;top_pis stripped sotemperatureis kept. Reproduced on Anthropicclaude-haiku-4-5on devtest.Scope
au/in/jp) and fix(claude): remove sampling params on Claude 4.7+/5.x and top_p on Haiku/Sonnet 4.5 across hosts #5760 (Claude 4.7+/5.x); no overlapping files.Made with Cursor
Note
Low Risk
YAML-only gateway parameter filtering; no application logic changes, and the change reduces 400 errors rather than altering auth or data paths.
Reviewed by Cursor Bugbot for commit f21fa5a. Bugbot is set up for automated code reviews on this repo. Configure here.