add dynamic clients for all APIs

This commit is contained in:
Ashwin Bharambe 2024-10-30 16:04:16 -07:00
parent f04b566c5c
commit 4067038f74
3 changed files with 198 additions and 4 deletions

View file

@ -8,6 +8,7 @@ from datetime import datetime
from enum import Enum
from typing import (
Any,
AsyncIterator,
Dict,
List,
Literal,
@ -434,7 +435,7 @@ class Agents(Protocol):
],
attachments: Optional[List[Attachment]] = None,
stream: Optional[bool] = False,
) -> AgentTurnResponseStreamChunk: ...
) -> Union[Turn, AsyncIterator[AgentTurnResponseStreamChunk]]: ...
@webmethod(route="/agents/turn/get")
async def get_agents_turn(