chat.ChatSkill¶
- class chat.ChatSkill(name: str | None = None)¶
Bases:
neurocore.skills.base.AsyncSkillSkill whose process() is an async coroutine.
Subclass this instead of Skill when your process() needs to await. The executor detects coroutines automatically via inspect.iscoroutinefunction.
- skill_meta¶
- async process(context: flowengine.FlowContext) flowengine.FlowContext¶
Execute component logic.
The main processing method. Must be implemented by subclasses.
- Parameters:
context – Current flow context with accumulated data
- Returns:
Updated flow context (may be the same instance)