mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-12 13:00:39 +00:00
remove usermessages
This commit is contained in:
parent
afee71604f
commit
5644d10c82
4 changed files with 8 additions and 27 deletions
13
docs/_static/llama-stack-spec.html
vendored
13
docs/_static/llama-stack-spec.html
vendored
|
@ -3954,23 +3954,16 @@
|
|||
"ContinueAgentTurnRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"new_messages": {
|
||||
"tool_responses": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/UserMessage"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/ToolResponseMessage"
|
||||
}
|
||||
]
|
||||
"$ref": "#/components/schemas/ToolResponseMessage"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"new_messages"
|
||||
"tool_responses"
|
||||
],
|
||||
"title": "ContinueAgentTurnRequest"
|
||||
},
|
||||
|
|
8
docs/_static/llama-stack-spec.yaml
vendored
8
docs/_static/llama-stack-spec.yaml
vendored
|
@ -2573,15 +2573,13 @@ components:
|
|||
ContinueAgentTurnRequest:
|
||||
type: object
|
||||
properties:
|
||||
new_messages:
|
||||
tool_responses:
|
||||
type: array
|
||||
items:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/UserMessage'
|
||||
- $ref: '#/components/schemas/ToolResponseMessage'
|
||||
$ref: '#/components/schemas/ToolResponseMessage'
|
||||
additionalProperties: false
|
||||
required:
|
||||
- new_messages
|
||||
- tool_responses
|
||||
title: ContinueAgentTurnRequest
|
||||
InferenceStep:
|
||||
type: object
|
||||
|
|
|
@ -354,12 +354,7 @@ class Agents(Protocol):
|
|||
agent_id: str,
|
||||
session_id: str,
|
||||
turn_id: str,
|
||||
new_messages: List[
|
||||
Union[
|
||||
UserMessage,
|
||||
ToolResponseMessage,
|
||||
]
|
||||
],
|
||||
tool_responses: List[ToolResponseMessage],
|
||||
) -> Union[Turn, AsyncIterator[AgentTurnResponseStreamChunk]]: ...
|
||||
|
||||
@webmethod(
|
||||
|
|
|
@ -174,12 +174,7 @@ class MetaReferenceAgentsImpl(Agents):
|
|||
agent_id: str,
|
||||
session_id: str,
|
||||
turn_id: str,
|
||||
new_messages: List[
|
||||
Union[
|
||||
UserMessage,
|
||||
ToolResponseMessage,
|
||||
]
|
||||
],
|
||||
tool_responses: List[ToolResponseMessage],
|
||||
) -> AsyncGenerator:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue