mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-06 15:02:20 +02:00
drop provider-invalid reasoning-only history turns
This commit is contained in:
@@ -3899,7 +3899,6 @@ def provider_wire_messages(messages):
|
||||
item.get('role') == 'assistant'
|
||||
and not item.get('content')
|
||||
and not item.get('tool_calls')
|
||||
and not item.get('reasoning_content')
|
||||
):
|
||||
continue
|
||||
cleaned.append(item)
|
||||
|
||||
Reference in New Issue
Block a user