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

Method delete_file_from_source

methods/letta/client/client.py:1386–1389  ·  view source on GitHub ↗
(self, source_id: str, file_id: str)

Source from the content-addressed store, hash-verified

1384 return job
1385
1386 def delete_file_from_source(self, source_id: str, file_id: str) -> None:
1387 response = requests.delete(f"{self.base_url}/{self.api_prefix}/sources/{source_id}/{file_id}", headers=self.headers)
1388 if response.status_code not in [200, 204]:
1389 raise ValueError(f"Failed to delete tool: {response.text}")
1390
1391 def create_source(self, name: str, embedding_config: Optional[EmbeddingConfig] = None) -> Source:
1392 """

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected