mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-12 13:00:39 +00:00
rename
This commit is contained in:
parent
7a111e39f6
commit
82109749ea
1 changed files with 9 additions and 4 deletions
|
@ -194,7 +194,7 @@ class AgentTurnResponseEventType(Enum):
|
|||
|
||||
turn_start = "turn_start"
|
||||
turn_complete = "turn_complete"
|
||||
turn_pending = "turn_pending"
|
||||
turn_awaiting_input = "turn_awaiting_input"
|
||||
|
||||
|
||||
@json_schema_type
|
||||
|
@ -344,15 +344,20 @@ class Agents(Protocol):
|
|||
) -> Union[Turn, AsyncIterator[AgentTurnResponseStreamChunk]]: ...
|
||||
|
||||
@webmethod(
|
||||
route="/agents/{agent_id}/session/{session_id}/turn/{turn_id}/submit_tool_response_messages",
|
||||
route="/agents/{agent_id}/session/{session_id}/turn/{turn_id}/continue",
|
||||
method="POST",
|
||||
)
|
||||
async def submit_tool_response_messages(
|
||||
async def continue_agent_turn(
|
||||
self,
|
||||
agent_id: str,
|
||||
session_id: str,
|
||||
turn_id: str,
|
||||
tool_response_messages: List[ToolResponseMessage],
|
||||
new_messages: List[
|
||||
Union[
|
||||
UserMessage,
|
||||
ToolResponseMessage,
|
||||
]
|
||||
],
|
||||
) -> Union[Turn, AsyncIterator[AgentTurnResponseStreamChunk]]: ...
|
||||
|
||||
@webmethod(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue