<template>
  <details class="summary-card">
    <summary>
      <i class="ph ph-article"></i>
      Context summary
    </summary>
    <div class="thinking-body" v-html="renderMarkdown(msg.text)" />
  </details>
</template>

<script setup>
import { renderMarkdown } from '@/composables/useMarkdown.js'
defineProps({ msg: { type: Object, required: true } })
</script>
