MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / SkillRunResult

Class SkillRunResult

openkb/agent/skill_runner.py:48–61  ·  view source on GitHub ↗

Outcome of a :func:`run_skill` call. ``validation`` is populated only when the skill declared a deck-mode artifact and the post-run validator was therefore invoked; otherwise ``None``. ``output_path`` is the KB-relative path the runner enforced via ``output_path_template``, or ``Non

Source from the content-addressed store, hash-verified

46
47@dataclass
48class SkillRunResult:
49 """Outcome of a :func:`run_skill` call.
50
51 ``validation`` is populated only when the skill declared a
52 deck-mode artifact and the post-run validator was therefore invoked;
53 otherwise ``None``. ``output_path`` is the KB-relative path the
54 runner enforced via ``output_path_template``, or ``None`` if the
55 skill left output placement to itself.
56 """
57
58 skill_name: str
59 output_path: Optional[Path] = None
60 validation: Optional[Any] = None # openkb.deck.validator.ValidationResult
61 metadata: dict = field(default_factory=dict) # skill's ``od:`` block
62
63
64async def run_skill(

Callers 5

_producer_resultFunction · 0.90
_critic_resultFunction · 0.90
fake_skillFunction · 0.90
run_skillFunction · 0.85

Calls

no outgoing calls

Tested by 4

_producer_resultFunction · 0.72
_critic_resultFunction · 0.72
fake_skillFunction · 0.72