AutoGenWorkflows
fastagency.runtimes.autogen.AutoGenWorkflows #
Bases: WorkflowsProtocol
Initialize the workflows.
Source code in fastagency/runtimes/autogen/autogen.py
get_description #
register #
register(
name: str,
description: str,
*,
fail_on_redefintion: bool = False
) -> Callable[[Workflow], Workflow]
Source code in fastagency/runtimes/autogen/autogen.py
register_api #
register_api(
api: OpenAPI,
callers: Union[
ConversableAgent, Iterable[ConversableAgent]
],
executors: Union[
ConversableAgent, Iterable[ConversableAgent]
],
functions: Optional[
Union[
str,
Iterable[
Union[str, Mapping[str, Mapping[str, str]]]
],
]
] = None,
) -> None