Workflows fastagency.base.Workflows # Bases: Protocol names property # names: list[str] get_description # get_description(name: str) -> str Source code in fastagency/base.py 277def get_description(self, name: str) -> str: ... register # register( name: str, description: str ) -> Callable[[Workflow], Workflow] Source code in fastagency/base.py 268 269 270def register( self, name: str, description: str ) -> Callable[[Workflow], Workflow]: ... register_api # register_api( api: OpenAPI, callers: Union[Agent, Iterable[Agent]], executors: Union[Agent, Iterable[Agent]], functions: Optional[ Union[ str, Iterable[ Union[str, Mapping[str, Mapping[str, str]]] ], ] ] = None, ) -> None Source code in fastagency/base.py 279 280 281 282 283 284 285 286 287def register_api( self, api: "OpenAPI", callers: Union[Agent, Iterable[Agent]], executors: Union[Agent, Iterable[Agent]], functions: Optional[ Union[str, Iterable[Union[str, Mapping[str, Mapping[str, str]]]]] ] = None, ) -> None: ... run # run( name: str, session_id: str, ui: UI, initial_message: str ) -> str Source code in fastagency/base.py 272def run(self, name: str, session_id: str, ui: UI, initial_message: str) -> str: ...