We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df91d48 commit f9208d2Copy full SHA for f9208d2
helpers/providers/azure.ts
@@ -62,12 +62,7 @@ export async function askAzureQuestions({
62
embeddingModel: DEFAULT_EMBEDDING_MODEL,
63
dimensions: getDimensions(DEFAULT_EMBEDDING_MODEL),
64
isConfigured(): boolean {
65
- if (config.apiKey) {
66
- return true;
67
- }
68
- if (process.env["AZURE_OPENAI_KEY"]) {
69
70
+ // the Azure model provider can't be fully configured as endpoint and deployment names have to be configured with env variables
71
return false;
72
},
73
};
0 commit comments