Dont change pipeline if local storage changes (#18773)

pull/18781/head
Bram Kragten 2023-11-27 15:42:07 +01:00 committed by GitHub
parent 02ebc028c8
commit 9dc844ca28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -394,7 +394,7 @@ export class HaVoiceCommandDialog extends LitElement {
start_stage: "intent",
input: { text },
end_stage: "intent",
pipeline: this._pipelineId,
pipeline: this._pipeline?.id,
conversation_id: this._conversationId,
}
);
@ -554,7 +554,7 @@ export class HaVoiceCommandDialog extends LitElement {
start_stage: "stt",
end_stage: this._pipeline?.tts_engine ? "tts" : "intent",
input: { sample_rate: this._audioRecorder.sampleRate! },
pipeline: this._pipelineId,
pipeline: this._pipeline?.id,
conversation_id: this._conversationId,
}
);