PatchData

Type Alias PatchData 

Source
pub type PatchData = BTreeMap<String, Value>;
Expand description

Arbitrary key-value pairs to override in a resource’s metadata.

This is a free-form map that can contain any valid TOML values (strings, numbers, booleans, arrays, tables). The values will be merged into the resource’s YAML frontmatter (for Markdown files) or top-level fields (for JSON files).

§Examples

[patch.agents.my-agent]
model = "claude-3-haiku"
temperature = "0.7"
max_tokens = 2000

Aliased Type§

pub struct PatchData { /* private fields */ }