Move copilot to websockets

This commit is contained in:
Pranav
2025-05-11 00:37:59 -07:00
parent bcce9cf74b
commit 34e929c705
16 changed files with 422 additions and 151 deletions
@@ -0,0 +1,24 @@
<script setup>
defineProps({
content: {
type: String,
required: true,
},
reasoning: {
type: String,
required: true,
},
});
</script>
<template>
<div class="flex flex-col gap-2 p-2 rounded bg-n-background">
<div
v-if="reasoning"
class="text-xs text-n-slate-11 border-t border-n-weak pt-2"
>
{{ reasoning }}
</div>
<p class="text-sm text-n-slate-12">{{ content }}</p>
</div>
</template>