Skip to content

Conversation

@axosoft-ramint
Copy link
Contributor

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)

Copy link
Member

@eamodio eamodio left a 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

@axosoft-ramint axosoft-ramint force-pushed the feature/azure-provider branch from 6709448 to 7e40e34 Compare May 2, 2025 15:41
@axosoft-ramint
Copy link
Contributor Author

axosoft-ramint commented May 2, 2025

@eamodio Resolved the above comments, but also found a bug with the settings regex for gitlens.ai.model and fixed it.

@axosoft-ramint axosoft-ramint requested a review from eamodio May 2, 2025 15:42
],
"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)$",
Copy link
Contributor Author

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 :.

Copy link
Member

@eamodio eamodio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good!

@eamodio eamodio merged commit 9c2aeff into main May 2, 2025
3 checks passed
@alivalingad56

This comment was marked as spam.

@alivalingad56

This comment was marked as spam.

@alivalingad56

This comment was marked as spam.

@alivalingad56

This comment was marked as spam.

@alivalingad56

This comment was marked as spam.

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.

Add separate provider option for Azure AI models

4 participants