Skip to content

Conversation

@joseharriaga
Copy link
Collaborator

This change adds a necessary null check to the CreateAddCustomHeadersPolicy method in the OpenAIClient for the cases when the OpenAIClientOptions argument is null.

@joseharriaga joseharriaga changed the title Fix NullReferenceException thrown when OpenAIClientOptions is null Fix NullReferenceException thrown in CreateAddCustomHeadersPolicy when OpenAIClientOptions is null Jun 23, 2024
@trrwilson trrwilson merged commit 0b97311 into main Jun 24, 2024
@trrwilson trrwilson deleted the joseharriaga/Null-ClientOptions branch June 24, 2024 15:56
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.

3 participants