fix: default group chat settings and voice transcription to 'no' in o… (#563)

This commit is contained in:
Cameron
2026-03-11 16:09:30 -07:00
committed by GitHub
parent 6231af560d
commit dc4204d6f4
2 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ async function promptGroupSettings(
const configure = await p.confirm({ const configure = await p.confirm({
message: 'Configure group chat settings?', message: 'Configure group chat settings?',
initialValue: hasExisting, initialValue: false,
}); });
if (p.isCancel(configure)) { if (p.isCancel(configure)) {
p.cancel('Cancelled'); p.cancel('Cancelled');

View File

@@ -997,7 +997,7 @@ async function stepProviders(config: OnboardConfig, env: Record<string, string>)
if (provider.id === 'openai') { if (provider.id === 'openai') {
const enableTranscription = await p.confirm({ const enableTranscription = await p.confirm({
message: 'Enable voice message transcription with this OpenAI key? (uses Whisper)', message: 'Enable voice message transcription with this OpenAI key? (uses Whisper)',
initialValue: true, initialValue: false,
}); });
if (!p.isCancel(enableTranscription) && enableTranscription) { if (!p.isCancel(enableTranscription) && enableTranscription) {
config.transcription.enabled = true; config.transcription.enabled = true;
@@ -1191,7 +1191,7 @@ async function stepTranscription(config: OnboardConfig, forcePrompt?: boolean):
const setupTranscription = await p.confirm({ const setupTranscription = await p.confirm({
message: 'Enable voice message transcription?', message: 'Enable voice message transcription?',
initialValue: config.transcription.enabled, initialValue: false,
}); });
if (p.isCancel(setupTranscription)) { p.cancel('Setup cancelled'); process.exit(0); } if (p.isCancel(setupTranscription)) { p.cancel('Setup cancelled'); process.exit(0); }
config.transcription.enabled = setupTranscription; config.transcription.enabled = setupTranscription;