You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`StepResult.resolved`** — defaults to `False`; steps fall through. Set `True` to short-circuit.
156
-
-**`StepResult.resolved_by`** — inner resolution path as `tuple[str, ...]`. Orchestrators propagate it from nested `run_skill` calls; `SkillResult.resolved_by` prepends the step name, building a hierarchical path like `("orchestrator", "inner_step")`.
157
-
-**Implicit `StepResult`** — step fns can return any value; non-`StepResult` returns are wrapped as `StepResult(value=x)`. Use explicit `StepResult` for `resolved`, `metadata`, or `resolved_by`.
158
-
-**Bare callables in `steps`** — `steps=[my_fn]` auto-wraps to `Skill(name=fn.__name__, fn=my_fn)`. Use explicit `Skill(name, fn=...)` for custom names.
159
-
-**`run_skill` / `iter_skill` kwargs** — `run_skill(skill, name="λ")` is sugar for `run_skill(skill, {"name": "λ"})`.
160
-
-**`ctx.prev`** — most recently executed step's `StepResult`. Starts as `ROOT` (`value=None`).
161
-
-**`ctx.trace`** — dict of all prior results keyed by step name. Raises informative `KeyError` on miss; use `.get()` for optional lookups.
162
-
-**`ctx.entry`** — the original input passed to `run_skill`.
163
-
-**`@lm(model, system_prompt=...)`** — binds model at decoration time. Decorated fn is `(ctx, call)` for leaves or `(ctx, steps, call)` for orchestrators; `call` prepends `system_prompt`.
164
-
-**`Skill.description`** — human-readable summary; falls back to fn docstring. Separate from `@lm` system prompts (read those via `fn.lm_system_prompt`).
165
-
-**`StepResult.metadata`** — auxiliary context: reasons, raw provider output, confidence.
166
-
-**`iter_skill`** — same as `run_skill` but yields `(name, result)` per step for streaming or early exit.
167
-
-**`check_skill`** — static validation of trace-key references. Catches typos and forward refs.
168
-
-**Test re-binding** — `lm(fake)(my_step.__wrapped__)` re-decorates with a different model.
0 commit comments