eca icon indicating copy to clipboard operation
eca copied to clipboard

0.146.1 has seemingly broken Anthropic models via github-copilot

Open crzcrz opened this issue 4 months ago • 3 comments

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

crzcrz avatar Jul 13 '26 16:07 crzcrz

I'm taking a look

ericdallo avatar Jul 13 '26 18:07 ericdallo

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 avatar Jul 13 '26 18:07 ericdallo

@ericdallo Thank you! 🤦

zikajk avatar Jul 14 '26 05:07 zikajk