mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +00:00
Show in assist pipeline debug when intent is preferred and processed locally (#23115)
This commit is contained in:
parent
06925f0716
commit
697a99f913
@ -104,12 +104,14 @@ interface PipelineIntentStartEvent extends PipelineEventBase {
|
|||||||
data: {
|
data: {
|
||||||
engine: string;
|
engine: string;
|
||||||
language: string;
|
language: string;
|
||||||
|
prefer_local_intents: boolean;
|
||||||
intent_input: string;
|
intent_input: string;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
interface PipelineIntentEndEvent extends PipelineEventBase {
|
interface PipelineIntentEndEvent extends PipelineEventBase {
|
||||||
type: "intent-end";
|
type: "intent-end";
|
||||||
data: {
|
data: {
|
||||||
|
processed_locally: boolean;
|
||||||
intent_output: ConversationResult;
|
intent_output: ConversationResult;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -307,6 +307,18 @@ export class AssistPipelineDebug extends LitElement {
|
|||||||
</div>`
|
</div>`
|
||||||
: ""}`
|
: ""}`
|
||||||
: ""}
|
: ""}
|
||||||
|
<div class="row">
|
||||||
|
<div>Prefer handling locally</div>
|
||||||
|
<div>
|
||||||
|
${this.pipelineRun.intent.prefer_local_intents}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div>Processed locally</div>
|
||||||
|
<div>
|
||||||
|
${this.pipelineRun.intent.processed_locally}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
${dataMinusKeysRender(
|
${dataMinusKeysRender(
|
||||||
this.pipelineRun.intent,
|
this.pipelineRun.intent,
|
||||||
INTENT_DATA
|
INTENT_DATA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user