message start below exit button

This commit is contained in:
einhornimmond 2025-03-18 15:37:06 +01:00
parent 3fda88856e
commit a7a04720a1
2 changed files with 8 additions and 3 deletions

View File

@ -8,6 +8,11 @@
></b-button>
<div v-if="isChatOpen" class="chat-window">
<div class="d-flex justify-content-start">
<b-button variant="light" class="chat-close-button mt-1 ms-1 btn-sm" @click="closeChat">
<IIcBaselineClose />
</b-button>
</div>
<div ref="chatContainer" class="messages-scroll-container">
<TransitionGroup class="messages" tag="div" name="chat">
<div v-for="(message, index) in messages" :key="index" :class="['message', message.role]">
@ -17,11 +22,11 @@
</div>
</TransitionGroup>
</div>
<div class="d-flex justify-content-end position-absolute top-0 start-0">
<!--<div class="d-flex justify-content-end position-absolute top-0 start-0">
<b-button variant="light" class="chat-close-button mt-1 ms-1 btn-sm" @click="closeChat">
<IIcBaselineClose />
</b-button>
</div>
</div> -->
<div class="input-area">
<BFormTextarea

View File

@ -82,7 +82,7 @@ export class OpenaiClient {
order: { createdAt: 'DESC' },
})
if (!openaiThreadEntity) {
// logger.warn(`No openai thread found for user: ${user.id}`)
logger.warn(`No openai thread found for user: ${user.id}`)
return []
}
const threadMessages = (