Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQ] Azure OpenAI uses non-standard server request-id header which is redacted by default #38728

Open
lmolkova opened this issue Sep 14, 2023 · 0 comments
Labels
Client This issue points to a problem in the data-plane of the library. OpenAI Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@lmolkova
Copy link
Member

lmolkova commented Sep 14, 2023

Library name

Azure.AI.OpenAI

Please describe the feature.

Azure OpenAI returns X-Request-ID header which is redacted in the logs by default.

The SDK should add X-Request-ID into the allowed header list by default.

Server-side request Id does not appear on traces, which is captured here:

if (message.Response.Headers.RequestId is string serviceRequestId)

perhaps SDK needs to do something to populate custom header on message.Response.Headers.RequestId?

image
@github-actions github-actions bot added Azure.Core Client This issue points to a problem in the data-plane of the library. needs-team-triage Workflow: This issue needs the team to triage. labels Sep 14, 2023
@jsquire jsquire added Service Attention Workflow: This issue is responsible by Azure service team. and removed Azure.Core needs-team-triage Workflow: This issue needs the team to triage. labels Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. OpenAI Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants