Skip to content

Commit

Permalink
Merge branch 'master' of github.com:SamparkAI/composio_sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
sohamganatra committed Mar 24, 2024
2 parents 3f5575a + 87fa76b commit 8ae7724
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion autogen/composio_autogen/autogen_toolspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
schema_type_python_type_dict = {
'string': str,
'number': float,
'boolean': bool
'boolean': bool,
'integer': int
}

fallback_values = {
'string': "",
'number': 0.0,
'integer': 0.0,
'boolean': False,
'object': {},
'array': []
Expand Down
4 changes: 3 additions & 1 deletion langchain/composio_langchain/composio_tool_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
schema_type_python_type_dict = {
'string': str,
'number': float,
'boolean': bool
'boolean': bool,
'integer': int,
}

fallback_values = {
'string': "",
'number': 0.0,
'integer': 0.0,
'boolean': False,
'object': {},
'array': []
Expand Down

0 comments on commit 8ae7724

Please sign in to comment.