Skip to content

fix(config): accept allowAgents in agent list#108

Merged
cft0808 merged 1 commit intocft0808:mainfrom
ailuntz:fix/allowagents-compat
Mar 24, 2026
Merged

fix(config): accept allowAgents in agent list#108
cft0808 merged 1 commit intocft0808:mainfrom
ailuntz:fix/allowagents-compat

Conversation

@ailuntz
Copy link
Contributor

@ailuntz ailuntz commented Mar 10, 2026

Summary

  • honor top-level allowAgents in openclaw.json agent entries
  • keep subagents.allowAgents as fallback
  • add regression test for allowAgents

Testing

  • not run (script + test only)

Fixes #104

Copy link
Owner

@cft0808 cft0808 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

代码审查通过 ✅

修复 openclaw.json 中 allowAgents 既可在顶层也可在 subagents 下的兼容问题。附带回归测试。修复 #104。建议合并。

@cft0808 cft0808 merged commit 99d672b into cft0808:main Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

求助!太子接到任务后无法派发给三省六部

2 participants