mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-04 08:31:36 +00:00
* fix(ai): tool calls fail when an unsupported schema keyword is nested The strip walked only properties, items, anyOf, oneOf and allOf, copying every other value through untouched. A keyword the model rejects therefore survived inside additionalProperties, prefixItems, patternProperties, contains, propertyNames, not, if/then/else, dependentSchemas and $defs, and the request was refused by the provider even though the strip reported success. Walk the same containers the caller already enumerates in agent-tools-parameter-schema.ts. * fix(ai): cover all nested schema containers --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>