mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-18 20:55:16 -04:00
ce82635225
Primary goal: enable compatibility with Anthropic Claude 4.1. Claude 4.1 rejects requests that specify both temperature and top_p. Align with API guidance and use only one: default to temperature; if top_p is explicitly provided, omit temperature. Preserve existing system/stop behavior. Apply equivalent handling for AWS Bedrock Claude (topP) for parity. Thinking-mode overrides remain unchanged (temperature=1.0; no top_p/topP).