diff --git a/source/api_definitions.py b/source/api_definitions.py index d3ec3ef45..3a4ef3726 100644 --- a/source/api_definitions.py +++ b/source/api_definitions.py @@ -281,7 +281,7 @@ class MemoryBanks(Protocol): def remove_memory_bank( self, bank_uuid: str, - ) -> None: ... + ) -> str: ... @webmethod(route="/memory_bank/insert") def post_insert_memory_documents( @@ -309,7 +309,7 @@ class MemoryBanks(Protocol): self, bank_uuid: str, document_uuids: List[str], - ) -> None: ... + ) -> List[str]: ... @dataclass diff --git a/source/openapi.html b/source/openapi.html index fd985c3dc..fd46d2923 100644 --- a/source/openapi.html +++ b/source/openapi.html @@ -830,7 +830,14 @@ "delete": { "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } } }, "tags": [ @@ -852,7 +859,14 @@ "post": { "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/jsonl": { + "schema": { + "type": "string" + } + } + } } }, "tags": [ @@ -3318,16 +3332,19 @@ ], "tags": [ { - "name": "SyntheticDataGeneration" + "name": "Datasets" + }, + { + "name": "Inference" + }, + { + "name": "PostTraining" }, { "name": "RewardScoring" }, { - "name": "Datasets" - }, - { - "name": "PostTraining" + "name": "SyntheticDataGeneration" }, { "name": "MemoryBanks" @@ -3335,9 +3352,6 @@ { "name": "AgenticSystem" }, - { - "name": "Inference" - }, { "name": "ShieldConfig", "description": "" diff --git a/source/openapi.yaml b/source/openapi.yaml index 3c66eba3b..23a462e1e 100644 --- a/source/openapi.yaml +++ b/source/openapi.yaml @@ -1702,6 +1702,10 @@ paths: required: true responses: '200': + content: + application/jsonl: + schema: + type: string description: OK tags: - MemoryBanks @@ -1880,6 +1884,10 @@ paths: type: string responses: '200': + content: + application/json: + schema: + type: string description: OK tags: - MemoryBanks @@ -2015,13 +2023,13 @@ security: servers: - url: http://any-hosted-llama-stack.com tags: -- name: SyntheticDataGeneration -- name: RewardScoring - name: Datasets +- name: Inference - name: PostTraining +- name: RewardScoring +- name: SyntheticDataGeneration - name: MemoryBanks - name: AgenticSystem -- name: Inference - description: name: ShieldConfig - description: