Lukasz Kowejsza

Results 2 comments of Lukasz Kowejsza

It also works better when you add arg_schema Field to PythonAstREPLTool. Code: ``` class AstArgSchema(BaseModel): """A schema for the ast argument.""" query: str = Field(description="A string formatted plain python script...

I've experienced similar problems. To fix this you will need to add 'args_schema' to PythonAstREPLTool. I have basically created a copy of 'langchain/tools/python/tool.py' and added a arg schema with a...