mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
feat(arena): forward chat history to spawned agents
Add stripStartupContext to remove env-info from parent history and pass chatHistory through ArenaManager → InProcessBackend → AgentInteractive → AgentCore. This allows arena agents to start with conversational context from the main session. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
89f8751233
commit
9f7e3e054f
15 changed files with 249 additions and 2 deletions
|
|
@ -155,6 +155,7 @@ export const AgentChatView = ({ agentId }: AgentChatViewProps) => {
|
|||
),
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
[
|
||||
agentId,
|
||||
messages.length,
|
||||
pendingApprovals?.size,
|
||||
liveOutputs?.size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue