Ask a question to get started
Enter to sendā¢Shift+Enter new line
save( self, file_path: Path | str, ) -> None
file_path
Path | str
Path to file to save the agent to.
Save the agent.
Example:
# If working with agent executor agent.agent.save(file_path="path/agent.yaml")