This commit is contained in:
Timothy J. Baek committed 2024-06-11 14:30:18 -07:00
1 parent 61e0a85aed
commit 2be14d57bf
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ def get_tools_specs(tools) -> List[dict]:
**(
{
"enum": (
param_annotation.__args__
str(param_annotation.__args__)
if hasattr(param_annotation, "__args__")
else None
)