Kill irrelevant (now) method

This commit is contained in:
Ashwin Bharambe 2024-10-09 22:11:18 -07:00
parent 77a486f176
commit 238e658cdf

View file

@ -5,7 +5,6 @@
# the root directory of this source tree. # the root directory of this source tree.
import asyncio import asyncio
import json
import os import os
from pathlib import Path from pathlib import Path
@ -35,17 +34,6 @@ class MemoryClient(Memory):
async def shutdown(self) -> None: async def shutdown(self) -> None:
pass pass
async def register_memory_bank(self, memory_bank: MemoryBankDef) -> None:
async with httpx.AsyncClient() as client:
response = await client.post(
f"{self.base_url}/memory/register_memory_bank",
json={
"memory_bank": json.loads(memory_bank.json()),
},
headers={"Content-Type": "application/json"},
)
response.raise_for_status()
async def insert_documents( async def insert_documents(
self, self,
bank_id: str, bank_id: str,