mirror of
https://github.com/cpacker/MemGPT.git
synced 2025-06-03 04:30:22 +00:00
7 lines
318 B
Python
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
|