mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-07 12:47:37 +00:00
update memory endpoints
This commit is contained in:
parent
1ac188e1b3
commit
f467a0482c
5 changed files with 42 additions and 21 deletions
|
@ -23,10 +23,10 @@ class MemoryBankSpec(BaseModel):
|
|||
|
||||
|
||||
class MemoryBanks(Protocol):
|
||||
@webmethod(route="/memory_banks_router/list", method="GET")
|
||||
@webmethod(route="/memory_banks/list", method="GET")
|
||||
async def list_memory_banks(self) -> List[MemoryBankSpec]: ...
|
||||
|
||||
@webmethod(route="/memory_banks_router/get", method="GET")
|
||||
@webmethod(route="/memory_banks/get", method="GET")
|
||||
async def get_memory_bank(
|
||||
self, bank_type: MemoryBankType
|
||||
) -> Optional[MemoryBankSpec]: ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue