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

feat: add native azure openai configuration #4

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

wey-gu
Copy link
Contributor

@wey-gu wey-gu commented Aug 15, 2024

chore: also fixed markdown lint errors

Sorry, I just noticed #2 already supports Azure after I started the change, it's quite a chore in such cases...

Thus this change mainly:

  • introduce a separate config interface
  • apply auth headers based on Azure or openai, instead of both

@wey-gu
Copy link
Contributor Author

wey-gu commented Aug 15, 2024

ps: I tested Azure with this new config flavor, but didn't regression-verify the openai case as I don't have a handy API as of now in hand but I stared at the change again to ensure it's not impacting vanilla openai.

@wey-gu wey-gu changed the title feat: add azure openai support feat: add native azure openai configuration Aug 15, 2024
chore: also fixed markdown lint errors
@yetone
Copy link
Owner

yetone commented Aug 15, 2024

LGTM!

@yetone yetone merged commit b3132f4 into yetone:main Aug 15, 2024
1 check passed
@wey-gu wey-gu deleted the azure_openai branch August 15, 2024 06:27
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