mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Added hasRequestedRef to track if a git diff request was already made for the current agentId. This prevents duplicate requests when the requestGitDiff function reference changes due to store updates. The issue was that requestGitDiff in the useEffect dependency array caused an infinite loop: request → store update → new function ref → effect re-runs → request again. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>