Skip to content
Snippets Groups Projects
Commit 5c3f8080 authored by jamescalam's avatar jamescalam
Browse files

fix: func schema string logic

parent 47bce511
Branches
Tags
No related merge requests found
......@@ -134,6 +134,8 @@ class Utterance(BaseModel):
json.dumps(schema, sort_keys=True)
for schema in self.function_schemas
]
else:
function_schemas_sorted = []
# we must do the same for metadata
metadata_sorted = json.dumps(self.metadata, sort_keys=True)
return f"{self.route}: {self.utterance} | {function_schemas_sorted} | {metadata_sorted}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment