TextToolSource#
Create, compose, unload, and save session-local Python tools. See the guide.
- class zett_agent.jit_harness.snapshot.TextToolSource(*, name, source, description)[源代码]#
Reusable Markdown workflow, stored verbatim and never executed as code.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- 参数:
name (str)
source (Annotated[str, Strict(strict=True), MinLen(min_length=1)])
description (Annotated[str, Strict(strict=True), MinLen(min_length=1), MaxLen(max_length=512)])
- source: str#
Markdown steps, applicability, dependencies, pitfalls, and checks.
- description: str#
Short selection hint exposed to the model; the workflow stays on demand.
Fields#
name(required)See the typed model signature for this field.
source(required)See the typed model signature for this field.
description(required)See the typed model signature for this field.