fix(codex): stream progress deltas to channels

This commit is contained in:
hanyuanling authored and Xubin Ren committed 2026-04-27 18:48:05 +08:00
1 parent 2b886ffd1f
commit ae14142a87
7 files changed
+128 -2

No files matched your search

+6
View File
@@ -41,3 +41,9 @@ def test_explicit_provider_import_still_works(monkeypatch) -> None:
assert namespace["AnthropicProvider"].__name__ == "AnthropicProvider"
assert "nanobot.providers.anthropic_provider" in sys.modules
def test_openai_codex_opts_into_progress_streaming() -> None:
from nanobot.providers.openai_codex_provider import OpenAICodexProvider
assert OpenAICodexProvider.stream_progress_via_chat_stream is True