Skip to content

v1.14.0 — Fix New Agent triggering agent picker in DMs

Choose a tag to compare

@anantgarg anantgarg released this 17 Mar 09:42
· 967 commits to main since this release

Changes

  • Fix: Clicking "New Agent" in the /agents dashboard no longer triggers the "Which agent should handle this?" picker. Bot messages in DMs are now skipped before reaching the agent routing logic.

Details

When startNewAgentFlow posted "Let's build a new hand!" as a top-level DM message, it was leaking past the bot self-filter and reaching the DM smart-routing section, which showed the agent picker. Added a bot_id/bot_message subtype guard in the DM handler to prevent any bot message from triggering agent routing.