mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
message start below exit button
This commit is contained in:
parent
3fda88856e
commit
a7a04720a1
@ -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
|
||||
|
||||
@ -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 = (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user