mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix(honcho): drop anyOf schema — breaks Fireworks and other providers
The honcho_conclude tool schema used anyOf with nested required fields which is unsupported by Fireworks AI, MiniMax, and other providers that only handle basic JSON Schema. The handler already validates that conclusion or delete_id is present (line 1018-1020), so the schema constraint was redundant. Replace with required: [] and let the handler reject bad calls.
This commit is contained in:
parent
131d261a74
commit
50d438d125
1 changed files with 1 additions and 4 deletions
|
|
@ -171,10 +171,7 @@ CONCLUDE_SCHEMA = {
|
||||||
"description": "Peer to query. Built-in aliases: 'user' (default), 'ai'. Or pass any peer ID from this workspace.",
|
"description": "Peer to query. Built-in aliases: 'user' (default), 'ai'. Or pass any peer ID from this workspace.",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"anyOf": [
|
"required": [],
|
||||||
{"required": ["conclusion"]},
|
|
||||||
{"required": ["delete_id"]},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue