@iservu-inc/adf-cli 0.5.4 → 0.5.5-debug.0
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.
- package/lib/ai/ai-config.js +3 -0
- package/package.json +1 -1
package/lib/ai/ai-config.js
CHANGED
|
@@ -275,8 +275,11 @@ async function configureAIProvider(projectPath = process.cwd()) {
|
|
|
275
275
|
const apiKey = process.env[provider.envVar] || existingEnv[provider.envVar];
|
|
276
276
|
if (apiKey) {
|
|
277
277
|
availableProviders.push(provider);
|
|
278
|
+
console.log(chalk.gray(`[DEBUG] Found ${provider.id}: ${provider.envVar}=${apiKey ? '***' : 'not found'}`));
|
|
278
279
|
}
|
|
279
280
|
}
|
|
281
|
+
console.log(chalk.gray(`[DEBUG] availableProviders length: ${availableProviders.length}`));
|
|
282
|
+
console.log(chalk.gray(`[DEBUG] availableProviders ids: ${availableProviders.map(p => p.id).join(', ')}`));
|
|
280
283
|
|
|
281
284
|
// Get currently active provider and model
|
|
282
285
|
const currentProvider = process.env.ADF_CURRENT_PROVIDER || existingEnv.ADF_CURRENT_PROVIDER;
|