strix
strix copied to clipboard
[BUG] litellm bad request expected thinking or redacted_thinking
its suddenly show this error after a while of scanning on multiple agents as well as the master too
screenshot: https://imgur.com/a/MXynlYk
System Information:
- OS: mac os
- Strix Version or Commit: 0.4.0
- Python Version: 3.12
- LLM Used: [Claude Sonnet 4.5]
I have the same issue, it appears that Strix doesn't handle thinking block format required by Claude
A temporary workaround is to remove"claude-sonnet-4-5*" and "claude-haiku-4-5*" from REASONING_EFFORT_PATTERNS in strix/llm/llm.py
https://github.com/usestrix/strix/blob/b74132b2dcbf7fc6d2ebed07fbe3e06bcedf247f/strix/llm/llm.py#L56
However this entirely disables thinking mode for Claude.