Skip to content

fix: log only the HTTP authentication method - #311

Open
1828703450qqcom-ux wants to merge 1 commit into
MiniMax-AI:mainfrom
1828703450qqcom-ux:fix/verbose-auth-diagnostics
Open

1828703450qqcom-ux wants to merge 1 commit into
MiniMax-AI:mainfrom
1828703450qqcom-ux:fix/verbose-auth-diagnostics

Conversation

@1828703450qqcom-ux

@1828703450qqcom-ux 1828703450qqcom-ux commented Nov 30, 2026 •

Copy link
Copy Markdown

Summary

Use the resolved authentication method as the verbose HTTP diagnostic label. The label now identifies API-key or OAuth authentication. Header construction continues to use the resolved credential.

Verification

  • Offline tests exercise the real client with synthetic API-key and cached OAuth credentials and assert the diagnostic and outgoing headers. Requests are handled by a local mock.
  • All 20 focused HTTP client, credential-store, and resolver tests passed. Type checking, production build, CLI startup, and git diff --check passed. Repository lint had one existing warning in the speech SDK test.
  • Two independent reviewers checked the updated diff.

Codex assisted with this contribution.


See it in action
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

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