mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-28 15:02:37 +00:00
Changed order of parameters
This commit is contained in:
parent
761217dcc4
commit
a542509399
2 changed files with 4 additions and 4 deletions
|
@ -442,13 +442,13 @@ class Agents(Protocol):
|
|||
async def get_agents_turn(
|
||||
self,
|
||||
agent_id: str,
|
||||
turn_id: str,
|
||||
session_id: str
|
||||
session_id: str,
|
||||
turn_id: str
|
||||
) -> Turn: ...
|
||||
|
||||
@webmethod(route="/agents/step/get")
|
||||
async def get_agents_step(
|
||||
self, agent_id: str, turn_id: str, step_id: str, session_id: str
|
||||
self, agent_id: str, session_id: str, turn_id: str, step_id: str
|
||||
) -> AgentStepResponse: ...
|
||||
|
||||
@webmethod(route="/agents/session/create")
|
||||
|
|
|
@ -155,7 +155,7 @@ class MetaReferenceAgentsImpl(Agents):
|
|||
return turn
|
||||
|
||||
async def get_agents_step(
|
||||
self, agent_id: str, turn_id: str, session_id: str, step_id: str
|
||||
self, agent_id: str, session_id: str, turn_id: str, step_id: str
|
||||
) -> AgentStepResponse:
|
||||
turn = await self.persistence_store.get(f"session:{agent_id}:{session_id}:{turn_id}")
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue