Files
letta-server/letta/agents/exceptions.py
Kian Jones b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00

7 lines
318 B
Python

class IncompatibleAgentType(ValueError):
def __init__(self, expected_type: str, actual_type: str):
message = f"Incompatible agent type: expected '{expected_type}', but got '{actual_type}'."
super().__init__(message)
self.expected_type = expected_type
self.actual_type = actual_type