@artemiskit/cli 0.1.8 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -263,6 +263,19 @@ function buildAzureOpenAIConfig(options: ProviderBuildOptions): AdapterConfigRes
263
263
  { value: '2024-02-15-preview', source: 'default' }
264
264
  );
265
265
 
266
+ // Embedding deployment (optional, for models that need separate embedding deployment)
267
+ const resolvedEmbeddingDeploymentName = resolveValueWithSource<string>(
268
+ { value: scenarioConfig?.embeddingDeploymentName, source: 'scenario' },
269
+ { value: fileProviderConfig?.embeddingDeploymentName, source: 'config' },
270
+ { value: process.env.AZURE_OPENAI_EMBEDDING_DEPLOYMENT, source: 'env' }
271
+ );
272
+
273
+ // Model family for parameter detection (e.g., 'gpt-5-mini' when deployment is '5-mini')
274
+ const resolvedModelFamily = resolveValueWithSource<string>(
275
+ { value: scenarioConfig?.modelFamily, source: 'scenario' },
276
+ { value: fileProviderConfig?.modelFamily, source: 'config' }
277
+ );
278
+
266
279
  const resolvedTimeout = resolveValueWithSource<number>(
267
280
  { value: scenarioConfig?.timeout, source: 'scenario' },
268
281
  { value: fileProviderConfig?.timeout, source: 'config' }
@@ -292,6 +305,8 @@ function buildAzureOpenAIConfig(options: ProviderBuildOptions): AdapterConfigRes
292
305
  defaultModel: resolvedModel.value,
293
306
  timeout: resolvedTimeout.value,
294
307
  maxRetries: resolvedMaxRetries.value,
308
+ embeddingDeploymentName: resolvedEmbeddingDeploymentName.value,
309
+ modelFamily: resolvedModelFamily.value,
295
310
  },
296
311
  resolvedConfig: {
297
312
  provider,