-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Splits out Azure provider from OpenAI Compatible providers #4275
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but some minor changes
6709448
to
7e40e34
Compare
@eamodio Resolved the above comments, but also found a bug with the settings regex for |
@@ -4047,7 +4047,7 @@ | |||
"null" | |||
], | |||
"default": null, | |||
"pattern": "^((anthropic|deepseek|gemini|github|huggingface|ollama|openai|openaicompatible|openrouter|xai):([\\w.-:]+)|gitkraken|vscode)$", | |||
"pattern": "^((anthropic|azure|deepseek|gemini|github|huggingface|ollama|openai|openaicompatible|openrouter|xai):([\\w.\\-:]+)|gitkraken|vscode)$", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, the dash -
character was not escaped here, so it was being interpreted as "any character between .
and :
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good!
Closes #4274
In addition to what's described in the issue, also adds guards/validators for Azure URL check when configuring the URL (for both Azure and OpenAI Compatible providers)