Skip to content

fix(Azure): support azure model.list #599

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

Merged
merged 1 commit into from
Jun 12, 2025
Merged

fix(Azure): support azure model.list #599

merged 1 commit into from
Jun 12, 2025

Conversation

iBotPeaches
Copy link
Collaborator

What:

  • Bug Fix
  • New Feature

Description:

Adds support for Azure model listing, which uses created_at and removes owned_by.

Related:

fixes: #598

@iBotPeaches
Copy link
Collaborator Author

Torn on something here. created_at is specific to a few other providers. I think adding the ?? fallback to non-standard fields is nice, but our typing says that field doesn't exist and thus fails.

In this PR I added it as an optional field to keep typing happy, but I think I might prefer just suppressing the stan warning.

@iBotPeaches iBotPeaches added this to the v0.13.1 milestone Jun 12, 2025
@iBotPeaches iBotPeaches merged commit 7e20d19 into main Jun 12, 2025
24 checks passed
@iBotPeaches iBotPeaches deleted the models-list branch June 12, 2025 19:31
trandbert37 pushed a commit to trandbert37/openai-php-client that referenced this pull request Jun 16, 2025
@iBotPeaches iBotPeaches added the bug Something isn't working label Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Undefined array key "owned_by"
1 participant