From facca12028a4f2f009c2733fd29423bf57a535e5 Mon Sep 17 00:00:00 2001 From: Brian 'bdougie' Douglas Date: Tue, 26 Aug 2025 14:57:09 -0700 Subject: [PATCH] docs: add required properties to assistant YAML examples - Add name, version, and schema to all assistant/block examples - Use 'Team Agent' as example assistant name - Ensure consistency with version 1.0.0 and schema v1 - Fix incomplete YAML examples that were missing required properties --- docs/reference.mdx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/reference.mdx b/docs/reference.mdx index e941beaf7..25f4d7e89 100644 --- a/docs/reference.mdx +++ b/docs/reference.mdx @@ -40,6 +40,10 @@ For example, the following assistant imports an Anthropic model and defines an O Assistant models section ```yaml +name: Team Agent +version: 1.0.0 +schema: v1 + models: - uses: anthropic/claude-3.5-sonnet # an imported model block - model: deepseek-reasoner # an explicit model block @@ -82,6 +86,9 @@ Blocks can be passed user inputs, including hub secrets and raw text values. To ```yaml title="config.yaml" name: myprofile/custom-model +version: 1.0.0 +schema: v1 + models: - name: My Favorite Model provider: anthropic @@ -94,6 +101,9 @@ Which can then be imported like this: ```yaml title="config.yaml" name: myprofile/custom-assistant +version: 1.0.0 +schema: v1 + models: - uses: myprofile/custom-model with: @@ -109,6 +119,9 @@ Block properties can be also be directly overriden using `override`. For example ```yaml title="config.yaml" name: myprofile/custom-assistant +version: 1.0.0 +schema: v1 + models: - uses: myprofile/custom-model with: