SkillRunnerBase#
- class council.runners.SkillRunnerBase(name: str)[source]#
Bases:
RunnerBase
Runner that executes a
SkillBase
- abstract execute_skill(context: SkillContext) ChatMessage [source]#
Skill execution
- render_as_dict(include_children: bool = True) Dict[str, Any] #
returns the graph of operation as a dictionary
- render_as_json() str #
returns the graph of operation as a JSON string
- run_in_current_thread(context: ChainContext, iteration_context: Option[IterationContext]) None [source]#
Run the skill in the current thread
- run_skill(context: ChainContext, executor: ThreadPoolExecutor) None [source]#
Run the skill in a different thread, and await for completion