[BUG]
Describe the bug During the running of the Strix app, I eventually get this error: X LLM Request Failed Details: litellm. BadRequestError: AnthropicException {"type":"error","error":{"type": "invalid_request_error", "message":"This model does not support assistant message prefill. The conversation must end with a user message."},
To Reproduce Steps to reproduce the behavior:
- Use Anthropic provider
- Use Sonnet 4.6
- Run against a large python app
Expected behavior For that error to not happen.
Screenshots If applicable, add screenshots to help explain your problem.
System Information:
- OS: Ubuntu 22.04
- Strix Version or Commit: Latest -- I think 🐳 Pulling Docker image: ghcr.io/usestrix/strix-sandbox:0.1.10
- Python Version: 3.12
- LLM Used: Claude Sonnet 4.6
Additional context Add any other context about the problem here.
This points at the pre-refactor strix/llm/llm.py _prepare_messages() synthetic meta/"Continue" message that broke some providers. That LLM layer was removed; message handling now goes through the openai-agents SDK. Recommend verifying on current main and closing if it no longer reproduces.