Skip to content

fix: resolve delegation providers from custom_providers#1012

Open
stablegenius49 wants to merge 1 commit intoNousResearch:mainfrom
stablegenius49:pr-factory/issue-1011-custom-delegation
Open

fix: resolve delegation providers from custom_providers#1012
stablegenius49 wants to merge 1 commit intoNousResearch:mainfrom
stablegenius49:pr-factory/issue-1011-custom-delegation

Conversation

@stablegenius49
Copy link

@stablegenius49 stablegenius49 commented Mar 12, 2026

Summary

  • resolve named custom providers from config.yaml custom_providers during runtime provider selection
  • allow delegation config to reference either the raw custom provider name (for example "local") or the menu-key form ("custom:local")
  • add regression coverage for saved custom-provider credentials and env-key fallback

Testing

  • python3 -m pytest -q -o addopts='' tests/test_runtime_provider_resolution.py
  • python3 -m pytest -q -o addopts='' tests/test_api_key_providers.py::TestRuntimeProviderResolution

Closes #1011.

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.

[Bug]: agent delegation to custom inference provider does not work

2 participants