A direct sub-agent chat gives no sign that the main agent is not in it, and the handoff count it already serves is never shown
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
Direzione di ricerca
Start in the ui-web instance surface, especially the instance composer, and inspect how the subagents.instances response is consumed. Use pending_handoff_count to show the non-zero count and add the proposed explanation of direct-chat context and handoff timing. Done means both messages appear correctly without backend changes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Chatting with a sub-agent instance produces no visible reaction from the main agent, and the page says nothing about why. The behaviour is deliberate and documented in the code -- "Nothing here touches the session transcript. A direct chat exists to keep these exchanges out of the main agent's context" (raven/agent/subagent/manager.py:984) -- but nothing on screen tells the reader that, so it reads as the main agent having missed the message.
There is a handoff: DirectChatHandoff appends an entry as each direct turn lands, and the rendered block is prepended to the user's next message to the main agent (raven/agent/subagent/direct_chat.py). So the main agent does learn, after the fact, on the next thing the user says to it. That is a reasonable design; it is just invisible.
The count is already served and already unused. subagents.instances returns pending_handoff_count (raven/rpc/methods/instances.py:318, modelled at raven/rpc/models.py:2183), and no caller in ui-web/src reads it.
Proposal
Two small things, either independently useful:
- Say once, on the instance surface, that this exchange stays out of the main agent's context and reaches it as a summary on the next message to it. One line, where the instance composer is.
- Show
pending_handoff_countwhen it is non-zero -- "N exchanges will be reported to the main agent" or similar. The number exists; nothing renders it.
Alternatives considered
- Mirror direct turns into the session transcript: this is exactly what the design refuses, and for a good reason (context cost, and the main agent being steered by details it was deliberately not given). Not proposed.
- Show nothing and let people learn the model: what happens today, and it produced this report.
Area
ui-web (the instance surface); no backend change needed for either item.
Additional context
The handoff already handles two edges worth knowing about, which is part of why surfacing it is cheap and honest: an instance created but never spoken to is an entry in its own right ("the case worth reporting is precisely the one where nothing has been said to it yet"), and a turn still answering is reported through live_direct_turns rather than being invisible until it lands -- a fix whose comment records that "a five-minute direct chat was reported to the main agent as an instance with no turns yet (2026-09-08)".
- Lingua principale
- Python
- Stelle
- 4.1k
- Fork
- 94
- Merge medio
- 9h 54m
- PR unite (30g)
- 370
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di EverMind-AI/Raven
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
EverMind-AI/Raven#798 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
EverMind-AI/Raven#797 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
EverMind-AI/Raven#640 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
EverMind-AI/Raven#479 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
EverMind-AI/Raven#474 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di EverMind-AI/Raven
Issue simili
-
Claiming namespace `apoint`Apertanamespace operations
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
EclipseFdn/open-vsx.org#13573 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
collective/icalendar#1854 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
rancher/rancher-ai-agent#412 ·
I maintainer di solito rispondono entro 6 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
TUDelftGeodesy/DePSI#134 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
HenriquesLab/rxiv-maker#335 ·