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

Method update_agent_message

methods/letta/server/server.py:1097–1101  ·  view source on GitHub ↗

Update the details of a message associated with an agent

(self, message_id: str, request: MessageUpdate, actor: User)

Source from the content-addressed store, hash-verified

1095 return sources_with_metadata
1096
1097 def update_agent_message(self, message_id: str, request: MessageUpdate, actor: User) -> Message:
1098 """Update the details of a message associated with an agent"""
1099
1100 # Get the current message
1101 return self.message_manager.update_message_by_id(message_id=message_id, message_update=request, actor=actor)
1102
1103 def get_organization_or_default(self, org_id: Optional[str]) -> Organization:
1104 """Get the organization object for org_id if it exists, otherwise return the default organization object"""

Callers

nothing calls this directly

Calls 1

update_message_by_idMethod · 0.45

Tested by

no test coverage detected