The generateAgentResponse function uses 'yield' to stream responses, so it must be declared as an async generator function (async function*) instead of a regular async function. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>