Originally created by @leochoo on GitHub (Dec 6, 2023).
Describe the bug
When you click on "New Chat" while the message is being streamed, "New Chat" will be created per word streamed it seems.
To Reproduce
Steps to reproduce the behavior:
Choose any model and generate a message
While generating, Click on 'New Chat'
You will see a creation of New Chat, which stop when the answer stream stops.
Expected behavior
Message generation stops and the new chat starts.
Screenshots
Desktop (please complete the following information):
OS: MacOS
Browser Edge
Version 119.0.2151.72 (Official build) (arm64)
Additional context
I'm just using frontend. I am NOT using Docker. I am NOT using the backend.
Instead, I'm using the regular ollama previously installed.
I'm running it via npm run dev and ollama via ollama serve.
Frontend .env points to OLLAMA_API_BASE_URL='http://127.0.0.1:11434/api'
Originally created by @leochoo on GitHub (Dec 6, 2023).
**Describe the bug**
When you click on "New Chat" while the message is being streamed, "New Chat" will be created per word streamed it seems.
**To Reproduce**
Steps to reproduce the behavior:
1. Choose any model and generate a message
2. While generating, Click on 'New Chat'
4. You will see a creation of New Chat, which stop when the answer stream stops.
**Expected behavior**
Message generation stops and the new chat starts.
**Screenshots**

**Desktop (please complete the following information):**
- OS: MacOS
- Browser Edge
- Version 119.0.2151.72 (Official build) (arm64)
**Additional context**
I'm just using frontend. I am NOT using Docker. I am NOT using the backend.
Instead, I'm using the regular ollama previously installed.
I'm running it via `npm run dev` and ollama via `ollama serve`.
Frontend .env points to `OLLAMA_API_BASE_URL='http://127.0.0.1:11434/api'`
Hi, I just merged the branch with the fix to main, Please let me know if the issue still persists after you try out the latest release. Thanks!
@tjbck commented on GitHub (Dec 6, 2023):
Hi, I just merged the branch with the fix to main, Please let me know if the issue still persists after you try out the latest release. Thanks!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @leochoo on GitHub (Dec 6, 2023).
Describe the bug
When you click on "New Chat" while the message is being streamed, "New Chat" will be created per word streamed it seems.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Message generation stops and the new chat starts.
Screenshots

Desktop (please complete the following information):
Additional context
I'm just using frontend. I am NOT using Docker. I am NOT using the backend.
Instead, I'm using the regular ollama previously installed.
I'm running it via
npm run devand ollama viaollama serve.Frontend .env points to
OLLAMA_API_BASE_URL='http://127.0.0.1:11434/api'@tjbck commented on GitHub (Dec 6, 2023):
Hi, Thanks for creating this issue! Taking a look right now, stay tuned!
@tjbck commented on GitHub (Dec 6, 2023):
Hi, I just merged the branch with the fix to main, Please let me know if the issue still persists after you try out the latest release. Thanks!