AllYourBot / hostedgpt

An open version of ChatGPT you can host anywhere or run locally.
MIT License
217 stars 85 forks source link

implements streaming messages into conversations #107

Closed robacarp closed 3 months ago

krschacht commented 3 months ago

@robacarp As I played with this whole interaction more, there is a weird issue with jumping of the page. As I submit a message in the composer, it appears and then the page jumps and it appears again.

I started commenting things out and I'm pretty sure morphing has stopped working. The best clue, before you comment anything out, is to scroll the left sidebar so it's offset. Then submit a message in the composer and you'll see the left sidebar jump back to the top as the full page refreshes itself. I started commenting things out one by one and I think the core morph isn't working. The mere act of posting to "create" and having that redirect back to it's same place; that's not morphing.

But I went back to main and it's not morphing there either so let's get your PR in after you checkout my comments and we can track this down separately.

You might only notice it when the conversation is long and it's started to scroll

krschacht commented 3 months ago

@robacarp nice to see you got a wedge! You might be doing more on this, but I'm good with you merging in whenever it's ready. It looks like tests are passing.

Then I'll land my PRs #113 and #120 which branch off this