Skip to content

Evals: don't provide all API keys when using models gateway#2162

Merged
dgageot merged 1 commit intodocker:mainfrom
gtardif:evals_dont_provide_keys_with_gateway
Mar 18, 2026
Merged

Evals: don't provide all API keys when using models gateway#2162
dgageot merged 1 commit intodocker:mainfrom
gtardif:evals_dont_provide_keys_with_gateway

Conversation

@gtardif
Copy link
Contributor

@gtardif gtardif commented Mar 18, 2026

No description provided.

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
@gtardif gtardif requested a review from a team as a code owner March 18, 2026 17:30
Copy link

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

No bugs detected in the changed code. The refactoring correctly implements conditional API key passing:

  • When ModelsGateway is configured: only gateway credentials are passed
  • When ModelsGateway is empty: all API keys are passed as before

The logic is sound and aligns with the PR's intent.

@dgageot dgageot merged commit 99f833d into docker:main Mar 18, 2026
8 checks passed
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