3 Commits

Author SHA1 Message Date
Jordan Ritter 2482317ccc style: apply ruff format to Python codebase
320 files reformatted. One-time alignment to match the ruff format
check added to CI in #4812.
2026-05-13 23:10:35 -07:00
Jordan Ritter eab4855e67 fix: address review findings in consolidated examples
- 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
2026-03-12 13:06:04 -07:00
Jordan Ritter ec3a5ff114 feat: consolidate 47 demo repos into examples/ 2026-03-12 13:06:02 -07:00