mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-24 20:40:03 +00:00
tool index refreshing when token is provided to create_turn
This commit is contained in:
parent
57745101be
commit
76f593143b
7 changed files with 217 additions and 21 deletions
28
docs/_static/llama-stack-spec.yaml
vendored
28
docs/_static/llama-stack-spec.yaml
vendored
|
|
@ -3219,6 +3219,32 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/QueryTracesRequest'
|
||||
required: true
|
||||
/v1/toolgroups/{toolgroup_id}/refresh:
|
||||
post:
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
$ref: >-
|
||||
#/components/responses/TooManyRequests429
|
||||
'500':
|
||||
$ref: >-
|
||||
#/components/responses/InternalServerError500
|
||||
default:
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- ToolGroups
|
||||
description: Refresh tools for a specific toolgroup.
|
||||
parameters:
|
||||
- name: toolgroup_id
|
||||
in: path
|
||||
description: >-
|
||||
The ID of the toolgroup to refresh tools for.
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
/v1/agents/{agent_id}/session/{session_id}/turn/{turn_id}/resume:
|
||||
post:
|
||||
responses:
|
||||
|
|
@ -3940,6 +3966,8 @@ components:
|
|||
type: object
|
||||
additionalProperties:
|
||||
$ref: '#/components/schemas/ToolParamDefinition'
|
||||
toolgroup_name:
|
||||
type: string
|
||||
additionalProperties: false
|
||||
required:
|
||||
- tool_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue