mirror of
https://github.com/cpacker/MemGPT.git
synced 2025-06-03 04:30:22 +00:00

Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com> Co-authored-by: Andy Li <55300002+cliandy@users.noreply.github.com> Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
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
|