MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / error

Method error

methods/letta/server/rest_api/interface.py:158–161  ·  view source on GitHub ↗

Enqueue a special stop message

(self, error: str)

Source from the content-addressed store, hash-verified

156 pass
157
158 def error(self, error: str):
159 """Enqueue a special stop message"""
160 self._queue_push(message_api={"internal_error": error}, message_obj=None)
161 self._queue_push(message_api="STOP", message_obj=None)
162
163 def user_message(self, msg: str, msg_obj: Optional[Message] = None):
164 """Handle reception of a user message"""

Callers

nothing calls this directly

Calls 1

_queue_pushMethod · 0.95

Tested by

no test coverage detected