β»οΈ Reproduction Steps
When using useCopilotAction with actions from a remote python endpoint or TypeScript actions with CopilotChat.
β
Expected Behavior
Ideally once the handler returns the response the UI should be shown persistently and the data should be added to the messages and be used by the LLM for context.
β Actual Behavior
The UI renders for the inProgress status but once it is complete, the result UI appears for a split second before being reset and disappearing and the response from the handler is not added to the message either.
This works with the LangGraph coagent but this is not working as expected with the other methods as mentioned above. This is despite following the code as shown in the documentation and examples.
π CopilotKit Version
π Logs (Optional)