mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
de6a53304d
The updateProverb useFrontendTool passed the live `agent` object in its deps array. react-core's use-frontend-tool does JSON.stringify(extraDeps), which throws "Converting circular structure to JSON" on agent.activeRunDetach$ (an RxJS Subject), crashing the React tree so no assistant bubble renders. `agent`/`agent.setState` are stable references; only `state` needs to be a dep. Also bump the docker ag-ui-crewai override to >=0.2.0,<0.3.0 to match agent/requirements.txt and the showcase backend.