mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
eab4855e67
- gemini/stack_agent.py: initialize tool_calls/tool_msg before try block, guard usage with null check to prevent NameError on failure - gemini/posts_generator_agent.py: use async generate_content to avoid blocking event loop, guard grounding_metadata access, replace bare except with explicit bounds check, remove dead router_function and redundant static edges - gemini/app/api/chat/route.ts: remove dead OpenAI route from Gemini example (mislabeled as Gemini-powered, no frontend references it) - gemini/package.json: remove unused @ai-sdk/openai, ai, zod deps - langgraph-python/agent.py: remove debug print(state), move docstring to first position so chat_node.__doc__ works - textarea tutorial: fix StackBlitz URLs pointing to use-tasks.tsx instead of use-emails.tsx