mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-13 18:32:20 +02:00
count artifact handoff once per response batch
This commit is contained in:
@@ -5471,6 +5471,7 @@ async def stream_preview(*, endpoint_url, model, messages, headers, turn_contrac
|
||||
if (
|
||||
repeated_handoff_target
|
||||
and artifact_body_handoff_attempts < 2
|
||||
and not artifact_body_handoff_target
|
||||
):
|
||||
artifact_body_handoff_attempts += 1
|
||||
artifact_body_handoff_target = repeated_handoff_target
|
||||
|
||||
Reference in New Issue
Block a user