eca icon indicating copy to clipboard operation
eca copied to clipboard

How can I inspect the context?

Open madorian opened this issue 1 year ago • 3 comments

I've spent 600 USD on vibe coding two days; that's my fault, cause I just needed something done, but now that I'm broke and back to normal life, I see it uses a lot of money and it didn't use this much before. I'm on opus on openrouter and it says 804.6k / 1M in the corner and I've just asked it to change a single file - that's 5 USD in 30 seconds. So, that must be wrong. What is the best way to inspect the context here? Is there a log somewhere about everything sent to the server?

madorian avatar Dec 02 '25 12:12 madorian

Yes, you can:

  • /prompt-show to see the full content that goes to LLM
  • Enable eca extra args to --log-level debug in your editor, then you will see all body requests sent to LLM, including tools and so

Opus is the most expensive model out there, I'd suggest trying sonnet 4.5 or other models, I don't think it's a ECA's fault TBH. We use anthropic's cache and same things Claude code for this specific behaviors

ericdallo avatar Dec 02 '25 12:12 ericdallo

Great, thank, I'll try that, but I'm a bit wary taking my eyes off the money counter on the screen now;). Can we put limits on it? I mean, if I ask it to port some files, can I set a money limit on that, until it prompts again?;)

madorian avatar Dec 03 '25 09:12 madorian

I think we can think in some kind of feature to block given tokens in config, please open a new issue with the expected detailed behavior

ericdallo avatar Dec 03 '25 12:12 ericdallo