Fix structural_tag tool call with null schema (#14006)
This commit is contained in:
@@ -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,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user