Skip to content

Conversation

@dluc
Copy link
Collaborator

@dluc dluc commented Nov 1, 2024

Motivation and Context (Why the change? What's the scenario?)

When retrying requests after throttling, the Azure OpenAI SDK is sending malformed requests, with multiple Authorization headers, which are rejected by the Azure OpenAI service with a 401 (Unauthorized) error code, leading to an exception in the SDK.

See

High level description (Approach, Design)

Inject a policy to fix malformed HTTP headers.

Functional test included, to verify the fix.

@dluc dluc merged commit b67dfe7 into microsoft:main Nov 1, 2024
6 checks passed
@dluc dluc deleted the fix46109 branch November 1, 2024 19:31
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