eca icon indicating copy to clipboard operation
eca copied to clipboard

when using Google's gemini models I don't get feedback about the context use like I do with the antropic model

Open stsquad opened this issue 7 months ago • 2 comments

Describe the bug

When using ECA for Emacs with the anthropic models I get a breakdown of the token usage but I can't see this with Gemini. I don't know if this is a limitation of the Emacs frontend or the ECA server itself.

To Reproduce

M-x eca-chat, do things, note no token counts in UI

Expected behavior

You should see the token usage

stsquad avatar Apr 20 '26 13:04 stsquad

@stsquad what model are you using? can you share your config if you changed?

ericdallo avatar Apr 23 '26 14:04 ericdallo

@stsquad I realized that this was working for other providers like copilot because they don't respect the spec for include usage, now eca always pass that for openai-chat and it should work for gemini and other providers using that API!

ericdallo avatar Apr 23 '26 15:04 ericdallo