Skip to content

Conversation

Jozef833
Copy link

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

Changes being requested

Examples of values for azure_endpoint include the trailing forward slash, but 4 string concatenations in src/openai/lib/azure.py are not compatible with the inclusion of the trailing character. This commit makes them agnostic to the trailing character.

Additional context & links

Here's an example where an example endpoint includes the trailing forward slash:

azure_endpoint="https://example-resource.azure.openai.com/",

Examples of values for azure_endpoint include the trailing forward slash, but 4 string concatenations in this file are not compatible with the inclusion of the trailing character. This commit makes them agnostic to the trailing character.
@Jozef833 Jozef833 requested a review from a team as a code owner November 26, 2024 00:19
@RobertCraigie
Copy link
Collaborator

Thanks for the PR! It looks like the f-string syntax you're using only works on Python >= 3.12, can you update it to work on older versions?

@Jozef833
Copy link
Author

Fixed in #1935

@Jozef833 Jozef833 closed this Dec 17, 2024
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.

2 participants