mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 03:21:59 +00:00
fix(tools): do not index tools, only index toolgroups
This commit is contained in:
parent
298721c238
commit
bf8a73e09a
6 changed files with 43 additions and 77 deletions
13
docs/_static/llama-stack-spec.html
vendored
13
docs/_static/llama-stack-spec.html
vendored
|
|
@ -9555,9 +9555,6 @@
|
|||
"toolgroup_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"tool_host": {
|
||||
"$ref": "#/components/schemas/ToolHost"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -9599,21 +9596,11 @@
|
|||
"provider_id",
|
||||
"type",
|
||||
"toolgroup_id",
|
||||
"tool_host",
|
||||
"description",
|
||||
"parameters"
|
||||
],
|
||||
"title": "Tool"
|
||||
},
|
||||
"ToolHost": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"distribution",
|
||||
"client",
|
||||
"model_context_protocol"
|
||||
],
|
||||
"title": "ToolHost"
|
||||
},
|
||||
"ToolGroup": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
10
docs/_static/llama-stack-spec.yaml
vendored
10
docs/_static/llama-stack-spec.yaml
vendored
|
|
@ -6713,8 +6713,6 @@ components:
|
|||
default: tool
|
||||
toolgroup_id:
|
||||
type: string
|
||||
tool_host:
|
||||
$ref: '#/components/schemas/ToolHost'
|
||||
description:
|
||||
type: string
|
||||
parameters:
|
||||
|
|
@ -6737,17 +6735,9 @@ components:
|
|||
- provider_id
|
||||
- type
|
||||
- toolgroup_id
|
||||
- tool_host
|
||||
- description
|
||||
- parameters
|
||||
title: Tool
|
||||
ToolHost:
|
||||
type: string
|
||||
enum:
|
||||
- distribution
|
||||
- client
|
||||
- model_context_protocol
|
||||
title: ToolHost
|
||||
ToolGroup:
|
||||
type: object
|
||||
properties:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue