Update the details of a message associated with an agent
(self, message_id: str, request: MessageUpdate, actor: User)
| 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""" |
nothing calls this directly
no test coverage detected