Skip to content

fix(delegation): honor worker fallback providers - #80438

Closed
wz-heng wants to merge 1 commit into
NousResearch:mainfrom
wz-heng:fix/delegation-fallback-providers-65038
Closed

fix(delegation): honor worker fallback providers#80438
wz-heng wants to merge 1 commit into
NousResearch:mainfrom
wz-heng:fix/delegation-fallback-providers-65038

Conversation

@wz-heng

@wz-heng wz-heng commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • honor delegation.fallback_providers when constructing delegated child agents
  • preserve parent-chain inheritance when the delegation key is absent
  • treat an explicit empty delegation chain as disabling inherited fallbacks
  • normalize worker fallback entries through the shared fallback-chain helper

Fixes #65038

Validation

  • python -m pytest tests/tools/test_delegate.py tests/run_agent/test_provider_fallback.py -q (79 passed)
  • ruff check tools/delegate_tool.py tests/tools/test_delegate.py
  • git diff --check origin/main...HEAD

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint tool/delegate Subagent delegation area/config Config system, migrations, profiles duplicate This issue or pull request already exists labels Aug 6, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

This was generated by AI during triage.

Duplicate of #65052. Both implement the same worker fallback-chain precedence and null/empty inheritance semantics for #65038; #65052 is the earlier, broader open implementation.

@wz-heng

wz-heng commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Closing as a duplicate of #80479, which covers the delegation fallback behavior with the full pin × config matrix, defaults, and documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists tool/delegate Subagent delegation type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

delegation.fallback_providers is ignored; delegated workers inherit the parent fallback chain

2 participants