diff --git a/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue b/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue index 6536b9af0..4ddb9bb92 100644 --- a/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue +++ b/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue @@ -40,7 +40,7 @@ const airiCardStore = useAiriCardStore() const { messages } = storeToRefs(chatSession) const { streamingMessage } = storeToRefs(chatStream) const { sending } = storeToRefs(chatOrchestrator) -const { activeCardId } = storeToRefs(airiCardStore) +const { activeCard, activeCardId } = storeToRefs(airiCardStore) const { t } = useI18n() const { openImagePreview } = journalPreviewStore const isComposing = ref(false) @@ -203,6 +203,7 @@ watch(sendMode, () => { }) const historyMessages = computed(() => messages.value as unknown as ChatHistoryItem[]) +const assistantLabel = computed(() => activeCard.value?.name?.trim() || undefined) async function handleDeleteMessage(index: number) { const message = messages.value[index] @@ -267,6 +268,7 @@ async function handleCleanupMessages() {