mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-24 10:32:45 +00:00
fix(providers): preserve codex text deltas
This commit is contained in:
parent
3483141ed7
commit
65dff4f3a5
@ -1079,7 +1079,7 @@ async def _parse_codex_sse_images(
|
||||
_collect_images_from_sse_event(event, images)
|
||||
_collect_text_from_sse_event(event, text_parts)
|
||||
|
||||
return images, "\n".join(text_parts).strip()
|
||||
return images, "".join(text_parts).strip()
|
||||
|
||||
|
||||
def _collect_images_from_sse_event(event: dict[str, Any], images: list[str]) -> None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user