At what point during a long coding session do you notice your AI agent starting to hallucinate?
by•
when starting a fresh thread, answers are crisp and precise. but after an hour of tweaking UI components back and forth, the agent starts referencing variables we deleted ten prompts ago.
I spent thirty minutes debugging an error only to realize the agent was silently modifying an outdated file copy it remembered from earlier in the session context.
how do you manage context drift do you hard-reset your agent chat regularly or prune system prompts?
6 views
Replies
i stopped trying to keep one long session going.. i commit after every step and keep a handoff file that only ever gets appended to, top 20 lines are the current state. so a fresh session reads that and the last diff instead of an hour of chat, and resetting stops costing anything. does it drift faster on the ui back and forth than on logic work?