Added implementation for get_agents_step and get_agents_turn

This commit is contained in:
Sarthak Deshpande 2024-10-18 17:21:33 +05:30
parent c2e8011175
commit 761217dcc4
2 changed files with 37 additions and 5 deletions

View file

@ -443,11 +443,12 @@ class Agents(Protocol):
self,
agent_id: str,
turn_id: str,
session_id: str
) -> Turn: ...
@webmethod(route="/agents/step/get")
async def get_agents_step(
self, agent_id: str, turn_id: str, step_id: str
self, agent_id: str, turn_id: str, step_id: str, session_id: str
) -> AgentStepResponse: ...
@webmethod(route="/agents/session/create")