fix(codex): stream progress deltas to channels

This commit is contained in:
hanyuanling
2026-04-27 18:48:05 +08:00
committed by Xubin Ren
parent 2b886ffd1f
commit ae14142a87
7 changed files with 128 additions and 2 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ class _LoopHook(AgentHook):
async def before_execute_tools(self, context: AgentHookContext) -> None:
if self._on_progress:
if not self._on_stream:
if not self._on_stream and not context.streamed_content:
thought = self._loop._strip_think(
context.response.content if context.response else None
)