We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b459e2 commit e259642Copy full SHA for e259642
src/toolbox_langchain_sdk/utils.py
@@ -124,7 +124,7 @@ def _parse_type(type_: str) -> Any:
124
return str
125
elif type_ == "integer":
126
return int
127
- elif type_ == "number":
+ elif type_ == "float":
128
return float
129
elif type_ == "boolean":
130
return bool
tests/test_utils.py
@@ -169,7 +169,7 @@ def test_schema_to_model_empty(self):
169
[
170
("string", str),
171
("integer", int),
172
- ("number", float),
+ ("float", float),
173
("boolean", bool),
174
("array", list),
175
],
0 commit comments