| 31 | |
| 32 | @dataclass |
| 33 | class PythonInterpreterToolConfig(BaseToolConfig): |
| 34 | _target: Type = field(default_factory=lambda: PythonInterpreterTool) |
| 35 | name: str = "python_interpreter" |
| 36 | description: str = """Use this tool to run python code to automate tasks when necessary. |
| 37 | Use like python_interpreter(<python code string here>). Make sure the last line is the entrypoint to your code.""" |
| 38 | |
| 39 | |
| 40 | code_registry = {} |
no outgoing calls
no test coverage detected