diff --git a/libs/chat/src/lib/compositions/chat/chat.component.ts b/libs/chat/src/lib/compositions/chat/chat.component.ts index 86888fc56..f7c135354 100644 --- a/libs/chat/src/lib/compositions/chat/chat.component.ts +++ b/libs/chat/src/lib/compositions/chat/chat.component.ts @@ -164,10 +164,16 @@ import type { ChatRenderEvent } from './chat-render-event'; - @if ((pending || (classified.type() === 'a2ui' && classified.a2uiSurfaces().size === 0)) && genuiTurn) { + @if (genuiTurn && classified.type() !== 'a2ui' && classified.type() !== 'json-render') { + - } - @if (classified.markdown(); as md) { + } @else if (classified.type() === 'a2ui' && classified.a2uiSurfaces().size === 0 && genuiTurn) { + + + } @else if (classified.markdown(); as md) { } @if (classified.spec(); as spec) {