mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-13 21:29:57 +00:00
naming submit_tool_response_messages
This commit is contained in:
parent
5d97ee645c
commit
7689ff2b54
1 changed files with 3 additions and 3 deletions
|
@ -344,15 +344,15 @@ class Agents(Protocol):
|
||||||
) -> Union[Turn, AsyncIterator[AgentTurnResponseStreamChunk]]: ...
|
) -> Union[Turn, AsyncIterator[AgentTurnResponseStreamChunk]]: ...
|
||||||
|
|
||||||
@webmethod(
|
@webmethod(
|
||||||
route="/agents/{agent_id}/session/{session_id}/turn/{turn_id}/update",
|
route="/agents/{agent_id}/session/{session_id}/turn/{turn_id}/submit_tool_response_messages",
|
||||||
method="POST",
|
method="POST",
|
||||||
)
|
)
|
||||||
async def update_agent_turn_with_tool_responses(
|
async def submit_tool_response_messages(
|
||||||
self,
|
self,
|
||||||
agent_id: str,
|
agent_id: str,
|
||||||
session_id: str,
|
session_id: str,
|
||||||
turn_id: str,
|
turn_id: str,
|
||||||
tool_messages: List[ToolResponseMessage],
|
tool_response_messages: List[ToolResponseMessage],
|
||||||
) -> Union[Turn, AsyncIterator[AgentTurnResponseStreamChunk]]: ...
|
) -> Union[Turn, AsyncIterator[AgentTurnResponseStreamChunk]]: ...
|
||||||
|
|
||||||
@webmethod(
|
@webmethod(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue