Skip to content

Commit

Permalink
fix: use shell tools
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu007 committed Sep 2, 2024
1 parent 5c7eeec commit 1ce9957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codeinterpreterapi/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_all_tools(self) -> list[BaseTool]:
return self._additional_tools

def add_tools_shell(self) -> None:
use_langchain_shell_tool = False
use_langchain_shell_tool = True
if use_langchain_shell_tool:
# NOT WORKING
# google.api_core.exceptions.InvalidArgument: 400 * GenerateContentRequest.tools[0].function_declarations[3].parameters.properties[commands].type: must be specified
Expand Down

0 comments on commit 1ce9957

Please sign in to comment.