eca icon indicating copy to clipboard operation
eca copied to clipboard

Model unresponsive

Open lockie opened this issue 6 months ago • 6 comments

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

I've just had this bug triggered in the very fresh and empty session — the timer ticks for a few seconds, then stops, and nothing happens. Resetting the dialog to the first line does not help. Please see the attached video.

https://github.com/user-attachments/assets/20ae2710-61f2-4287-a2aa-bb2e6325fa62

Surprisingly enough, changing model to zai-coding-plan/glm-5.1 works.

My current config (sans API keys) is here

Version: eca-emacs: 20260602.1904 | server: eca 0.138.1 | emacs: GNU Emacs 30.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.51, cairo version 1.18.4) of 2026-01-18

lockie avatar Jun 04 '26 19:06 lockie

A debugging session tells that the system context is 92k tokens, which makes GLM-4.7 overflow right away. I'm investigating why it is that huge (that would also explain me hitting the weekly limits of Z.AI, which never happened before)

lockie avatar Jun 04 '26 22:06 lockie

Ok so the problem was I had too much MCPs which were choking the context window of 4.7 right from the first message. PEBKAC I guess, but I'd still love better error message instead of just silently dying.

lockie avatar Jun 05 '26 00:06 lockie

Interesting, it was not support to silent do nothing when that happens, will take a look

ericdallo avatar Jun 08 '26 14:06 ericdallo

found the issue, it happens when the first message in a chat already explores the context, will fix this feedback ,thanks

ericdallo avatar Jun 08 '26 14:06 ericdallo

Fixed in 566c800fc. On the first response the context overflow was being routed into auto-compaction, which can't shrink the system prompt (it includes the MCP server instructions), so ECA silently re-issued the same oversized request and the error never surfaced, leaving only your prompt in an idle chat.

It now skips auto-compaction when there's nothing to compact and reports a clear "context window exceeded" message. Will be in the next release.

ericdallo avatar Jun 08 '26 14:06 ericdallo

Thank you!

lockie avatar Jun 08 '26 22:06 lockie