Edit the artificial intelligence of the Mentact assistant

This commit is contained in:
2026-09-21 16:58:49 +03:30
parent f5a4eb577b
commit d7d82102af
4 changed files with 248 additions and 23 deletions
@@ -37,7 +37,7 @@ function pick(label: string) {
</script>
<template>
<article class="panel">
<article id="home-ai-assistant" class="panel">
<header class="panel-head">
<h2>
<span class="spark"><UiIcon name="sparkle" :size="15" /></span>
@@ -62,6 +62,9 @@ function pick(label: string) {
</div>
<p v-if="error" class="ai-error">{{ error }}</p>
<div v-else-if="asking" class="ai-answer">
<p>در حال پاسخ…</p>
</div>
<div v-else-if="answer" class="ai-answer">
<p>{{ answer }}</p>
<div v-if="sources?.length" class="sources">