strong-ice-84145
12/23/2025, 10:03 PMstrong-ice-84145
12/23/2025, 10:03 PMlitellm.BadRequestError: Error code: 400 - {'error': {'message': 'litellm.BadRequestError: AnthropicException - {"type":"error","error":{"type":"invalid_request_error","message":"messages.5.content.0.type: Expected `thinking` or `redacted_thinking`, but found `tool_use`. When `thinking` is enabled, a final `assistant` message must start with a thinking block (preceeding the lastmost set of `tool_use` and `tool_result` blocks). We recommend you include thinking blocks from previous turns. To avoid this requirement, disable `thinking`. Please consult our documentation at <https://docs.claude.com/en/docs/build-with-claude/extended-thinking>"},"request_id":"req_011CWQNYsoUKpFYAxF1cKbuU"}No fallback model group found for original model_group=claude-opus-4-5-20251101. Fallbacks=[{\'qwen3-coder-480b\': [\'qwen3-coder-480b-or\']}, {\'glm-4.5\': [\'glm-4.5-or\']}]. Received Model Group=claude-opus-4-5-20251101\nAvailable Model Group Fallbacks=None\nError doing the fallback: litellm.BadRequestError: AnthropicException - {"type":"error","error":{"type":"invalid_request_error","message":"messages.5.content.0.type: Expected `thinking` or `redacted_thinking`, but found `tool_use`. When `thinking` is enabled, a final `assistant` message must start with a thinking block (preceeding the lastmost set of `tool_use` and `tool_result` blocks). We recommend you include thinking blocks from previous turns. To avoid this requirement, disable `thinking`. Please consult our documentation at <https://docs.claude.com/en/docs/build-with-claude/extended-thinking>"},"request_id":"req_011CWQNYsoUKpFYAxF1cKbuU"}No fallback model group found for original model_group=claude-opus-4-5-20251101. Fallbacks=[{\'qwen3-coder-480b\': [\'qwen3-coder-480b-or\']}, {\'glm-4.5\': [\'glm-4.5-or\']}] LiteLLM Retried: 1 times, LiteLLM Max Retries: 2', 'type': None, 'param': None, 'code': '400'}}chilly-france-44439
12/24/2025, 3:17 AMstraight-sundown-84319
12/25/2025, 7:22 PMstraight-sundown-84319
12/26/2025, 5:06 AM