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
@@ -96,7 +96,7 @@ async def evaluate_response(
|
||||
"""
|
||||
|
||||
try:
|
||||
llm_response = await provider.chat_with_retry(
|
||||
llm_response = await provider.chat_stream_with_retry(
|
||||
messages=[
|
||||
{"role": "system", "content": evaluator_prompt},
|
||||
{"role": "user", "content": render_template(
|
||||
|
||||
Reference in new issue
Block a user