fix: stream internal model calls with idle timeouts (#5730)

* fix: stream internal model calls with idle timeouts

* fix(providers): reject streams without terminal events
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-11 13:06:43 +08:00
1 parent aeb7b207d7
commit 73410e0217
60 files changed
+815 -795

No files matched your search

+2 -2
View File
@@ -56,8 +56,8 @@ async def test_active_run_keeps_provider_captured_at_admission() -> None:
second_calls += 1
return LLMResponse(content="done")
first_provider.chat_with_retry = first_chat
second_provider.chat_with_retry = second_chat
first_provider.chat_stream_with_retry = first_chat
second_provider.chat_stream_with_retry = second_chat
tools = MagicMock()
tools.get_definitions.return_value = []
tools.execute = AsyncMock(return_value="contents")