mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-10 13:28:40 +00:00
removed UpdatePromptRequest, convert prompt version to integer, update tests, and remove TempPathFile in favor of tmp_path_factory
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
2a8469f156
commit
64f6840195
7 changed files with 88 additions and 109 deletions
12
docs/_static/llama-stack-spec.yaml
vendored
12
docs/_static/llama-stack-spec.yaml
vendored
|
@ -704,7 +704,7 @@ paths:
|
|||
The version of the prompt to get (defaults to latest).
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
type: integer
|
||||
post:
|
||||
responses:
|
||||
'200':
|
||||
|
@ -7391,9 +7391,9 @@ components:
|
|||
The system prompt text with variable placeholders. Variables are only
|
||||
supported when using the Responses API.
|
||||
version:
|
||||
type: string
|
||||
type: integer
|
||||
description: >-
|
||||
Version string (integer start at 1 cast as string, incremented on save)
|
||||
Version (integer starting at 1, incremented on save)
|
||||
prompt_id:
|
||||
type: string
|
||||
description: >-
|
||||
|
@ -13018,7 +13018,7 @@ components:
|
|||
type: object
|
||||
properties:
|
||||
version:
|
||||
type: string
|
||||
type: integer
|
||||
description: The version to set as default.
|
||||
additionalProperties: false
|
||||
required:
|
||||
|
@ -13227,9 +13227,9 @@ components:
|
|||
type: string
|
||||
description: The updated prompt text content.
|
||||
version:
|
||||
type: string
|
||||
type: integer
|
||||
description: >-
|
||||
The current version of the prompt being updated (as a string).
|
||||
The current version of the prompt being updated.
|
||||
variables:
|
||||
type: array
|
||||
items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue