-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
β»οΈ Reproduction Steps
Environment: Copilotkit.ai + ADK Agent (Python)
Agent Framework: Google ADK Agent (Integrated via AG-UI middleware)
CopilotKit Version: @copilotkit/react-ui: 1.10.6
Google ADK Version/SDK: 1.18
Steps to Reproduce:
Open the CopilotKit-powered chat interface.
First Question: Ask a question that triggers a result. (Example: "generate logs from 2025/11/10 3pm to 4pm").
Wait for the response to fully complete and display (e.g., "Log Retrieval Complete" and the links).
Second Question: Immediately enter and submit a new, different question. (Example : "What is the value of gateway.public.host").
Observe: Just before the agent starts streaming the new answer, the previous response ("Log Retrieval Complete" + links) reappears momentarily, followed by the new, correct response.
β Expected Behavior
The chat interface should immediately clear the previous agent response or display a new, clean loading/streaming state when a new user question is submitted. The previous message content should not flash or display before the new response starts.
β Actual Behavior
The previous response is displayed again when the new request is initiated, causing a visual duplication.
π CopilotKit Version
βββ @copilotkit/[email protected]
βββ @copilotkit/[email protected]
βββ @copilotkit/[email protected]