Skip to content

fix(diagnostics): fail the credentials check when keys don't match th… - #245

Closed
MartinYuNilsen wants to merge 1 commit into
google:mainfrom
MartinYuNilsen:fix/diagnose-key-config-mismatch
Closed

MartinYuNilsen wants to merge 1 commit into
google:mainfrom
MartinYuNilsen:fix/diagnose-key-config-mismatch

Conversation

@MartinYuNilsen

Copy link
Copy Markdown

…e config

The credentials probe passed whenever any provider key existed. With only an Anthropic key and config/artemis.jsonc naming Google models, mobile_diagnose reported "Active (Claude)" and then every task died within seconds with "Planner requires GOOGLE_API_KEY".

The probe now also runs the loaded LLM config's validate_providers() and, when keys exist but a configured agent node lacks its provider's key, fails with "Key Does Not Match Config", the offending node, the keys that are configured, and how to align them.

…e config

The credentials probe passed whenever any provider key existed. With only an
Anthropic key and config/artemis.jsonc naming Google models, mobile_diagnose
reported "Active (Claude)" and then every task died within seconds with
"Planner requires GOOGLE_API_KEY".

The probe now also runs the loaded LLM config's validate_providers() and, when
keys exist but a configured agent node lacks its provider's key, fails with
"Key Does Not Match Config", the offending node, the keys that are configured,
and how to align them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@google-cla

google-cla Bot commented Nov 16, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

1 participant