We had this wait on ollama but not for openai, causing it to fail to scroll down in certain cases.
This fixes the issue.
I don't actually know what tick does, but the ollama version of this function has it and that has no issues.
Pull Request Checklist
Description: Briefly describe the changes in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Description
[Insert a brief description of the changes made in this pull request]
Changelog Entry
Added
[List any new features or additions]
Fixed
Scroll to bottom when sending a message with openai
Changed
[List any changes or updates]
Removed
[List any removed features or files]
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1311
**Author:** [@AndrewRyanChama](https://github.com/AndrewRyanChama)
**Created:** 3/26/2024
**Status:** ✅ Merged
**Merged:** 3/27/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `arc/openaitick`
---
### 📝 Commits (2)
- [`ac294a7`](https://github.com/open-webui/open-webui/commit/ac294a74e7bc5f080970c049c656506e36f9407b) Merge pull request #1277 from open-webui/dev
- [`d245b75`](https://github.com/open-webui/open-webui/commit/d245b756a312db88c406311c316cddf3acfda1ee) Add wait for tick before scrolling down in openai
### 📊 Changes
**2 files changed** (+8 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `src/routes/(app)/+page.svelte` (+4 -0)
📝 `src/routes/(app)/c/[id]/+page.svelte` (+4 -0)
</details>
### 📄 Description
We had this wait on ollama but not for openai, causing it to fail to scroll down in certain cases.
This fixes the issue.
I don't actually know what tick does, but the ollama version of this function has it and that has no issues.
## Pull Request Checklist
- [x] **Description:** Briefly describe the changes in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [x] **Documentation:** Have you updated relevant documentation?
- [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
---
## Description
[Insert a brief description of the changes made in this pull request]
---
### Changelog Entry
### Added
- [List any new features or additions]
### Fixed
- Scroll to bottom when sending a message with openai
### Changed
- [List any changes or updates]
### Removed
- [List any removed features or files]
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1311
Author: @AndrewRyanChama
Created: 3/26/2024
Status: ✅ Merged
Merged: 3/27/2024
Merged by: @tjbck
Base:
dev← Head:arc/openaitick📝 Commits (2)
ac294a7Merge pull request #1277 from open-webui/devd245b75Add wait for tick before scrolling down in openai📊 Changes
2 files changed (+8 additions, -0 deletions)
View changed files
📝
src/routes/(app)/+page.svelte(+4 -0)📝
src/routes/(app)/c/[id]/+page.svelte(+4 -0)📄 Description
We had this wait on ollama but not for openai, causing it to fail to scroll down in certain cases.
This fixes the issue.
I don't actually know what tick does, but the ollama version of this function has it and that has no issues.
Pull Request Checklist
Description
[Insert a brief description of the changes made in this pull request]
Changelog Entry
Added
Fixed
Changed
Removed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.