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

[Azure] Fix AzureOpenAI export #824

Closed
wants to merge 2 commits into from

Conversation

deyaaeldeen
Copy link
Contributor

@deyaaeldeen deyaaeldeen commented May 6, 2024

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

AzureOpenAI should be correctly exported. It is exported as part of the types but the runtime class is not exported:
image

EDIT: The PR also updates the type of the input azureADTokenProvider function to return a promise so the client can block until a token is requested and refreshed.

Additional context & links

Currently, the exports in src/index.ts are being rewritten by a script to only export the OpenAI namespace. However, AzureOpenAI doesn't live in that namespace but still needs to be exported.

@deyaaeldeen deyaaeldeen requested a review from a team as a code owner May 6, 2024 00:52
@RobertCraigie
Copy link
Collaborator

@deyaaeldeen we made this change on our end in this release PR: #826

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.

None yet

2 participants