Skip to content

fix(agent): clarify auxiliary provider auth failures - #682

Open
hashbender wants to merge 1 commit into
mainfrom
mirror/pr-56842
Open

fix(agent): clarify auxiliary provider auth failures#682
hashbender wants to merge 1 commit into
mainfrom
mirror/pr-56842

Conversation

@hashbender

Copy link
Copy Markdown
Owner

Fixes NousResearch#56810.\n\nExplicit auxiliary providers that use OAuth/ADC/SDK credentials (for example Vertex) no longer fall through to an invented _API_KEY error when client construction returns None. The fallback error now preserves API-key guidance only for actual api_key providers and gives setup/auth guidance for non-API-key providers.\n\nTests: scripts/run_tests.sh tests/agent/test_auxiliary_client.py -k ExplicitProviderUnavailableErrors


Mirror-of: NousResearch#56842
NousResearch#56842

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.

Misleading "API key was found" RuntimeError for non-API-key OAuth/ADC providers in auxiliary tasks

1 participant