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

Method clear

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

Clear all messages from the queue.

(self)

Source from the content-addressed store, hash-verified

121 return items
122
123 def clear(self):
124 """Clear all messages from the queue."""
125 with self.buffer.mutex:
126 # Empty the queue
127 self.buffer.queue.clear()
128
129 async def message_generator(self, style: Literal["obj", "api"] = "obj"):
130 while True:

Callers 15

list_agentsMethod · 0.45
update_agentMethod · 0.45
get_tools_from_agentMethod · 0.45
attach_toolMethod · 0.45
detach_toolMethod · 0.45
get_agent_by_nameMethod · 0.45
get_agentMethod · 0.45
get_agent_idMethod · 0.45
send_messagesMethod · 0.45
send_messageMethod · 0.45
user_messageMethod · 0.45
run_commandMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected