We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc93b3 commit f29805fCopy full SHA for f29805f
src/components/ChattyLLM/ChattyLLMInputForm.vue
@@ -273,15 +273,15 @@ export default {
273
this.editingTitle = false
274
this.$refs.inputComponent.focus()
275
276
- if (this.active !== null && !this.loading.newSession) {
277
- await this.fetchMessages()
278
- this.scrollToBottom()
279
- } else {
280
- // when no active session or creating a new session
+ if (this.active === null || this.loading.newSession) {
281
this.allMessagesLoaded = true
282
this.loading.newSession = false
283
return
284
}
+
+ await this.fetchMessages()
+ this.scrollToBottom()
285
// start polling in case a message is currently being generated
286
try {
287
const sessionId = this.active.id
0 commit comments