ai/agent-chat/code-mode-approval-details.component.ts
Shows the code of a codemode call awaiting approval as highlighted code, instead of its raw
input, so the user can read what the agent wants to execute.
| changeDetection | ChangeDetectionStrategy.OnPush |
| selector | c8y-code-mode-approval-details |
| imports |
C8yTranslatePipe
|
| templateUrl | ./code-mode-approval-details.component.html |
No results matching.
AiChatCodeBlockComponent
C8yTranslatePipe
<c8y-ai-chat-code-block
[value]="code()"
language="javascript"
[label]="'Code`JavaScript code an AI agent wants to run`' | translate"
data-cy="code-mode-code"
></c8y-ai-chat-code-block>