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:
1 parent
aeb7b207d7
commit
73410e0217
60 files changed
+815
-795
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user