Address upstream issues 60 and 62
This commit is contained in:
11 files changed
+328
-79
No files matched your search
+3
-1
@@ -523,6 +523,7 @@ async function openSettings(): Promise<void> {
|
||||
console.log(chalk.cyan(' Venice:'), hasApiKey('venice') ? chalk.green('configured') : chalk.red('not set'));
|
||||
console.log(chalk.cyan(' Anthropic:'), hasApiKey('anthropic') ? chalk.green('configured') : chalk.red('not set'));
|
||||
console.log(chalk.cyan(' OpenAI:'), hasApiKey('openai') ? chalk.green('configured') : chalk.red('not set'));
|
||||
console.log(chalk.cyan(' DeepSeek:'), hasApiKey('deepseek') ? chalk.green('configured') : chalk.red('not set'));
|
||||
console.log('');
|
||||
break;
|
||||
|
||||
@@ -575,7 +576,7 @@ async function openSettings(): Promise<void> {
|
||||
type: 'list',
|
||||
name: 'keyProvider',
|
||||
message: 'Which provider?',
|
||||
choices: ['openrouter', 'venice', 'anthropic', 'openai'],
|
||||
choices: ['openrouter', 'venice', 'anthropic', 'openai', 'deepseek'],
|
||||
},
|
||||
]);
|
||||
const { apiKey } = await inquirer.prompt([
|
||||
@@ -642,6 +643,7 @@ program
|
||||
[chalk.cyan('Venice API Key'), hasApiKey('venice') ? chalk.green('✓ Configured') : chalk.red('✗ Not set')],
|
||||
[chalk.cyan('Anthropic API Key'), hasApiKey('anthropic') ? chalk.green('✓ Configured') : chalk.red('✗ Not set')],
|
||||
[chalk.cyan('OpenAI API Key'), hasApiKey('openai') ? chalk.green('✓ Configured') : chalk.red('✗ Not set')],
|
||||
[chalk.cyan('DeepSeek API Key'), hasApiKey('deepseek') ? chalk.green('✓ Configured') : chalk.red('✗ Not set')],
|
||||
[chalk.cyan('Config Path'), config.getConfigPath()],
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user