How can I inspect the context?
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?
Yes, you can:
/prompt-showto see the full content that goes to LLM- Enable eca extra args to
--log-level debugin 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
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?;)
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