Backend: - Replace bare print() with structured logging module - Include LLM prompt snippets and response content in streamed events - Extract proper node names from LangGraph metadata (langgraph_node) - Add latency tracking (start/end time per node) - Add tool input/output content in events - Add system log event type for informational messages - Stream on_tool_end events for tool results Frontend: - Fix node disappearing/reappearing: use useNodesState/useEdgesState + useEffect for incremental updates instead of useMemo that rebuilt all nodes on each event - Fix duplicate node creation: use useRef to track seen node IDs persistently - Fix useAgentStream reconnection loop: remove stale `status` from connect deps - Use statusRef to avoid stale closure in onclose handler - Add auto-scroll to terminal, event count, type labels/colors - Show prompt snippets, tool I/O, and response content in terminal - Handle 'log' event type Packages: - Update all npm deps to latest compatible minor versions - Remove node_modules from git tracking, add to .gitignore Co-authored-by: aguzererler <6199053+aguzererler@users.noreply.github.com> Agent-Logs-Url: https://github.com/aguzererler/TradingAgents/sessions/5c511c4e-5172-4eda-b6de-aefa1859e8ac |
||
|---|---|---|
| .. | ||
| routes | ||
| services | ||
| .env.example | ||
| dependencies.py | ||
| main.py | ||
| store.py | ||