Skip to content

Add azure open ai support to simulator model config #346

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

Merged
merged 4 commits into from
Jul 24, 2025

Conversation

vritant24
Copy link
Member

No description provided.

@@ -105,26 +107,40 @@ export class OpenAICompatibleTestEndpoint extends ChatEndpoint {
throw new Error(`API key environment variable ${this.modelConfig.apiKeyEnvName} is not set`);
}

if (this.modelConfig.type === 'azureOpenai') {
Copy link
Member

Choose a reason for hiding this comment

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

Should this be in a separate azure endpoint? Just in case they continue to diverge? Maybe via na override. You can see BYOK does this

Copy link
Member Author

Choose a reason for hiding this comment

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

what do you mean by na override?
I was on the side of keeping it all in one, and create a separate azure endpoint if it diverges a lot. I'm still unsure of how much more if-elsing is going to be needed to be able to know the right separations (probably will have more knowledge as we continue to try more types of models).

@vs-code-engineering vs-code-engineering bot added this to the July 2025 milestone Jul 24, 2025
@lramos15 lramos15 added this pull request to the merge queue Jul 24, 2025
Merged via the queue into microsoft:main with commit 382a54d Jul 24, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants