@@ -336,7 +336,7 @@ export interface SessionServiceDeps {
336336 rtkEnabledLocal ?: boolean ;
337337 rtkEnabledCloud ?: boolean ;
338338 spokenNotifications ?: boolean ;
339- elevenLabsKeyConfigured ?: boolean ;
339+ spokenNarrationEnabled ?: boolean ;
340340 } ;
341341 usageLimit : { show : ( ...args : any [ ] ) => any } ;
342342 readonly addDirectoryDialog : { open : boolean } ;
@@ -1092,15 +1092,15 @@ export class SessionService {
10921092 customInstructions,
10931093 rtkEnabledLocal,
10941094 spokenNotifications,
1095- elevenLabsKeyConfigured ,
1095+ spokenNarrationEnabled ,
10961096 } = this . d . settings ;
10971097 const result = await this . d . trpc . agent . reconnect . mutate ( {
10981098 taskId,
10991099 taskRunId,
11001100 repoPath,
11011101 rtkEnabled : rtkEnabledLocal ,
11021102 spokenNarration :
1103- spokenNotifications === true && elevenLabsKeyConfigured === true ,
1103+ spokenNotifications === true && spokenNarrationEnabled === true ,
11041104 apiHost : auth . apiHost ,
11051105 projectId : auth . projectId ,
11061106 logUrl,
@@ -1424,7 +1424,7 @@ export class SessionService {
14241424 customInstructions : startCustomInstructions ,
14251425 rtkEnabledLocal,
14261426 spokenNotifications,
1427- elevenLabsKeyConfigured ,
1427+ spokenNarrationEnabled ,
14281428 } = this . d . settings ;
14291429 const preferredModel = model ?? this . d . DEFAULT_GATEWAY_MODEL ;
14301430 const result = await this . d . trpc . agent . start . mutate ( {
@@ -1438,7 +1438,7 @@ export class SessionService {
14381438 customInstructions : startCustomInstructions || undefined ,
14391439 rtkEnabled : rtkEnabledLocal ,
14401440 spokenNarration :
1441- spokenNotifications === true && elevenLabsKeyConfigured === true ,
1441+ spokenNotifications === true && spokenNarrationEnabled === true ,
14421442 effort : effortLevelSchema . safeParse ( reasoningLevel ) . success
14431443 ? ( reasoningLevel as EffortLevel )
14441444 : undefined ,
0 commit comments