Fix structural_tag tool call with null schema (#14006)

This commit is contained in:
Aleksandr Krotov
2025-11-28 10:04:16 +03:00
committed by GitHub
parent 91d249cd9b
commit 7daddcdb58

View File

@@ -152,7 +152,7 @@ class FunctionCallParser:
tool_structures.append(
StructuresResponseFormat(
begin=info.begin,
schema=schema, # type: ignore
schema=schema or {}, # type: ignore
end=info.end,
)
)