eca
eca copied to clipboard
0.146.1 has seemingly broken Anthropic models via github-copilot
After updating eca to 0.146.1 requests to anthropic models via github-copilot fail with the following error:
Anthropic response status: 400 body: {"type":"error","error":{"type":"invalid_request_error","message":"\"thinking.type.enabled\" is not supported for this model. Use \"thinking.type.adaptive\" and \"output_config.effort\" to control thinking behavior."},"request_id":"req_011CczPVpm9GRnUynsmzHa5X"}
To Reproduce
Select an anthropic model, e.g. github-copilot/claude-opus-4.8, and send any prompt.
Expected behavior
The model responds.
Doctor
ECA version: 0.146.1
Server cmd: /Users/.../.config/emacs/.local/cache/eca/eca server
Default model: github-copilot/claude-opus-4.8 (Subscription (oauth), expires 2026-07-13 19:10)
Logged providers:
github-copilot: Subscription (oauth), expires 2026-07-13 19:10
I'm taking a look
It seems https://github.com/editor-code-assistant/eca/pull/524 introduced that, I made a fix and I'm releasing 0.146.2. FYI @zikajk
@ericdallo Thank you! 🤦