Skip to content

feat: add @mention routing for direct single-agent conversation#1383

Open
nitpicker55555 wants to merge 15 commits intomainfrom
feat/ask_with_single_agent
Open

feat: add @mention routing for direct single-agent conversation#1383
nitpicker55555 wants to merge 15 commits intomainfrom
feat/ask_with_single_agent

Conversation

@nitpicker55555
Copy link
Collaborator

@nitpicker55555 nitpicker55555 commented Feb 27, 2026

Related Issue #992

image

Closes #

Description

Testing Evidence (REQUIRED)

  • I have included human-verified testing evidence in this PR.
  • This PR includes frontend/UI changes, and I attached screenshot(s) or screen recording(s).
  • No frontend/UI changes in this PR.

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Contribution Guidelines Acknowledgement

- Add @mention dropdown UI in input box (keyboard navigable)
- Parse {{@agentid}} tags in message content for mention badge rendering
- Backend: route @agent messages directly to persistent agents, skip workforce
- Backend: reuse persistent agents across turns (preserve toolkit state)
- Frontend: persist mention target across turns, render in input and chat bubbles
- Fix keyboard ArrowUp/Down selection in mention dropdown
nitpicker55555 and others added 10 commits February 27, 2026 01:07
Persistent agents reused across multi-turn @mention conversations were
losing tool call history due to prune_tool_calls_from_memory, causing
the LLM to repeat operations (e.g. get_page_snapshot) it already performed.
Move prune_tool_calls_from_memory=False from chat_service persistent
agent override to browser factory directly, so all browser agents
(workforce and @mention) retain tool call history.
Resolve conflicts in:
- server/uv.lock (revision number, greenlet wheel format)
- src/store/chatStore.ts (merge target/displayContent and executionId/projectId params)
- src/components/ChatBox/BottomBox/InputBox.tsx (merge mention and trigger/expanded features)
- src/components/ChatBox/index.tsx (merge mention/direct-agent features with new unified layout)
Resolve conflicts keeping feature branch mention/direct-agent additions
merged with main's trigger, execution, and layout changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Support worker agent mode by sending message to the selected worker directly

1 participant