When using magentic orchestration withb plan review feedback enabled , sending a plan review resume request with empty feedback review:[] , stream emits RUN_FINISHED first , then later emits TEXT_MESSAGE_END for the same run, causing INCOMPLETE STREAM errors when copilotkit consumes them.
Observed behaviour
RUN ERROR with message Cannot send 'RUN_FINISHED 'while test messages are still active with code "INCOMPLETE STREAM" from copilotkit.
observed Event order
1.RUN_STARTED
2.TEXT_MESSAGE_START
3.TEXT_MESSAGE_CONTENT
4.RUN_FINISHED with no interrupts
5.TEXT_END
Env tested on
agent-framework-ag-ui= 1.0.0
Could you pls confirm whether its a known issue and already fixed in recent releases
When using magentic orchestration withb plan review feedback enabled , sending a plan review resume request with empty feedback review:[] , stream emits RUN_FINISHED first , then later emits TEXT_MESSAGE_END for the same run, causing INCOMPLETE STREAM errors when copilotkit consumes them.
Observed behaviour
RUN ERROR with message Cannot send 'RUN_FINISHED 'while test messages are still active with code "INCOMPLETE STREAM" from copilotkit.
observed Event order
1.RUN_STARTED
2.TEXT_MESSAGE_START
3.TEXT_MESSAGE_CONTENT
4.RUN_FINISHED with no interrupts
5.TEXT_END
Env tested on
agent-framework-ag-ui= 1.0.0
Could you pls confirm whether its a known issue and already fixed in recent releases