Fix structural_tag tool call with null schema (#14006)

This commit is contained in:
Aleksandr Krotov
2025-11-27 23:04:16 -08:00
committed by GitHub
parent 91d249cd9b
commit 7daddcdb58
@@ -152,7 +152,7 @@ class FunctionCallParser:
tool_structures.append( tool_structures.append(
StructuresResponseFormat( StructuresResponseFormat(
begin=info.begin, begin=info.begin,
schema=schema, # type: ignore schema=schema or {}, # type: ignore
end=info.end, end=info.end,
) )
) )