Skip to content

fix: avoid missing credentials exception in the AsyncDial constructor#96

Merged
adubovik merged 1 commit into
developmentfrom
fix-openai-client-ansent-key
May 26, 2026
Merged

fix: avoid missing credentials exception in the AsyncDial constructor#96
adubovik merged 1 commit into
developmentfrom
fix-openai-client-ansent-key

Conversation

@khshanovskyi
Copy link
Copy Markdown
Collaborator

Applicable issues

  • fixes #
    openai.OpenAIError: Missing credentials. Please pass an `api_key`, `workload_identity`, `admin_api_key`, or set the `OPENAI_API_KEY` or `OPENAI_ADMIN_KEY` environment variable. For AsyncDial

Description of changes

Added - as it is done for Dial client

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@khshanovskyi khshanovskyi requested a review from adubovik as a code owner May 26, 2026 13:23
@khshanovskyi khshanovskyi force-pushed the fix-openai-client-ansent-key branch from 4fb0a8f to 2d36a1f Compare May 26, 2026 13:36
@adubovik adubovik changed the title fix: OpenAIError missing credentials for the AsyncDial#_init_resources fix: avoid missing credentials exception in the AsyncDial constructor May 26, 2026
@adubovik adubovik merged commit 8a2768d into development May 26, 2026
11 checks passed
@adubovik adubovik deleted the fix-openai-client-ansent-key branch May 26, 2026 14:17
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