mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-25 00:02:25 +02:00
test(agent): restore exact turn-policy regressions
This commit is contained in:
@@ -3499,11 +3499,12 @@ def setup_chat_routes(
|
||||
# has an exact routed contract. Adding the whole native
|
||||
# workspace inventory here reintroduced overlapping PDF
|
||||
# readers and caused the model to abandon the selected
|
||||
# OCR operation. Exact operations therefore stay exact;
|
||||
# ordinary native turns retain warm and workspace tools.
|
||||
# OCR operation. A task-only turn likewise has an exact
|
||||
# personal manager; core shell/Web tools are not task
|
||||
# fallbacks. Other turns retain warm and workspace tools.
|
||||
extra_tools=(
|
||||
frozenset()
|
||||
if _exact_selected_native_chain or (
|
||||
if _exact_selected_native_chain or _active_turn_capabilities == frozenset({"tasks"}) or (
|
||||
_active_turn_capabilities in (
|
||||
frozenset({"transcription"}), frozenset({"ocr"}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user