mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-16 14:57:20 +00:00
add dynamic clients for all APIs
This commit is contained in:
parent
f04b566c5c
commit
4067038f74
3 changed files with 198 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue