Validate the arguments against the args_schema model. Args: kwargs (dict[str, Any]): The arguments to validate. Returns: True if the arguments are valid. Raises: ValidationError If any arguments are invalid.
(self, **kwargs)
| 127 | return self.config.filesystem_manager |
| 128 | |
| 129 | def validate_tool_args(self, **kwargs): |
| 130 | """Validate the arguments against the args_schema model. |
| 131 | |
| 132 | Args: |
| 133 | kwargs (dict[str, Any]): The arguments to validate. |
| 134 | Returns: |
| 135 | True if the arguments are valid. |
| 136 | Raises: |
| 137 | ValidationError If any arguments are invalid. |
| 138 | """ |
| 139 | self.args_schema(**kwargs) |
| 140 | |
| 141 | return True |
| 142 | |
| 143 | def init_langchain_tool(self): |
| 144 | from autopack.langchain_wrapper import LangchainWrapper |