Skip to content

[fix] Make agents block optional so infra-only YAML files load (#775)#809

Merged
wenjin272 merged 1 commit into
apache:mainfrom
wenjin272:fix-yaml-doc
Jun 8, 2026
Merged

[fix] Make agents block optional so infra-only YAML files load (#775)#809
wenjin272 merged 1 commit into
apache:mainfrom
wenjin272:fix-yaml-doc

Conversation

@wenjin272
Copy link
Copy Markdown
Contributor

@wenjin272 wenjin272 commented Jun 8, 2026

Linked issue: #775

Purpose of change

The "split topology from infra" pattern documented in yaml.md fails because YamlAgentsDocument declares agents as required, so an infrastructure-only file (shared chat-model connections, vector stores, ...) is rejected. Make agents default to empty on both Python and Java sides, re-export yaml-schema.json, add infra-only regression tests, and note the optional block in the docs.

Tests

ut

API

Make agents in YAML spec default to empty on both Python and Java sides

Documentation

  • doc-needed
  • doc-not-needed
  • doc-included

…e#775)

The "split topology from infra" pattern documented in yaml.md fails because
YamlAgentsDocument declares agents as required, so an infrastructure-only file
(shared chat-model connections, vector stores, ...) is rejected. Make agents
default to empty on both Python and Java sides, re-export yaml-schema.json,
add infra-only regression tests, and note the optional block in the docs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added doc-included Your PR already contains the necessary documentation updates. fixVersion/0.3.0 The feature or bug should be implemented/fixed in the 0.3.0 version. priority/major Default priority of the PR or issue. and removed doc-included Your PR already contains the necessary documentation updates. labels Jun 8, 2026
@wenjin272 wenjin272 merged commit 0c8da86 into apache:main Jun 8, 2026
48 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-included Your PR already contains the necessary documentation updates. fixVersion/0.3.0 The feature or bug should be implemented/fixed in the 0.3.0 version. priority/major Default priority of the PR or issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant