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

Fix undefined array key "created" #458

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BjornValkOptimizers
Copy link

Fixed the instance of Models RetrieveResponse not containing 'created' attribute when using Azure OpenAI

What:

  • [X ] Bug Fix
  • New Feature

Description:

Fix an exception when calling client->models()->list() with an Azure OpenAI configuration.
The Azure OpenAI does not return created and owned_by in it's response. Instead use created_at for the created property and an empty string for the ownedBy property

Related:

#457

@gehrisandro gehrisandro self-assigned this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants