Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
Target branch: Please verify that the pull request targets the dev branch.
Description: Provide a concise description of the changes made 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.
Testing: Have you written and run sufficient tests for validating the changes?
Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
Changelog Entry
Description
Additional Information
After my tests, all latex formulas can be displayed normally now,but still need to wait for the message to end before rendering in latex
If the formula is too long on the mobile side may exceed the scope of the page, hope someone to resolve it!
🔄 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/4545
**Author:** [@Yanyutin753](https://github.com/Yanyutin753)
**Created:** 8/12/2024
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `Katex`
---
### 📝 Commits (10+)
- [`6a012d2`](https://github.com/open-webui/open-webui/commit/6a012d290e919e2ce30b35c57bcca1535a9942b5) migration to SvelteKit 2
- [`5315fb2`](https://github.com/open-webui/open-webui/commit/5315fb201d802bd0e1af1f00a076be28fc59bb3f) changelod updated
- [`b289eef`](https://github.com/open-webui/open-webui/commit/b289eef5233216261e94314caa581df30b38859e) typo
- [`831fe9f`](https://github.com/open-webui/open-webui/commit/831fe9f509d0f7438369edda9497e761e3494acf) cleanup
- [`44c781f`](https://github.com/open-webui/open-webui/commit/44c781f414007a7968d7c38560668a457c0f1900) cleanup
- [`fc31267`](https://github.com/open-webui/open-webui/commit/fc31267a54c4ba20a4a0252b05f46d878791eb55) refac: re-use utils.misc
- [`ed205d8`](https://github.com/open-webui/open-webui/commit/ed205d82e8799a06ea9db4e6334228d99fad6678) fix: pop
- [`4105c97`](https://github.com/open-webui/open-webui/commit/4105c9735ea188f115356c0e17eef1f17a10277c) revert files
- [`f62281a`](https://github.com/open-webui/open-webui/commit/f62281a0c7b0bf1841cd08e66eac67ae49670a86) Merge branch 'dev' of https://github.com/open-webui/open-webui into remove-ollama
- [`2fb4d33`](https://github.com/open-webui/open-webui/commit/2fb4d3356cbf3173b5d9b6d50f080538063d7967) fix: #4158 allow reconnection when websocket is closed
### 📊 Changes
**65 files changed** (+1094 additions, -1204 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/workflows/integration-test.yml` (+7 -0)
📝 `backend/apps/images/main.py` (+6 -4)
📝 `backend/apps/images/utils/comfyui.py` (+5 -3)
📝 `backend/apps/ollama/main.py` (+84 -309)
📝 `backend/apps/openai/main.py` (+5 -2)
📝 `backend/apps/webui/main.py` (+4 -2)
📝 `backend/config.py` (+6 -0)
📝 `backend/main.py` (+2 -1)
📝 `backend/requirements.txt` (+4 -4)
📝 `backend/utils/misc.py` (+45 -5)
📝 `cypress/e2e/chat.cy.ts` (+18 -13)
📝 `package-lock.json` (+383 -595)
📝 `package.json` (+21 -15)
📝 `pyproject.toml` (+1 -1)
📝 `src/lib/apis/index.ts` (+1 -0)
📝 `src/lib/components/chat/Messages/CodeBlock.svelte` (+9 -6)
➕ `src/lib/components/chat/Messages/KatexRenderer.svelte` (+9 -0)
📝 `src/lib/components/chat/Messages/MarkdownInlineTokens.svelte` (+13 -3)
📝 `src/lib/components/chat/Messages/MarkdownTokens.svelte` (+106 -119)
📝 `src/lib/components/chat/Messages/ResponseMessage.svelte` (+80 -91)
_...and 45 more files_
</details>
### 📄 Description
# Pull Request Checklist
### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request.
**Before submitting, make sure you've checked the following:**
- [x] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [x] **Description:** Provide a concise description of the changes made 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] **Testing:** Have you written and run sufficient tests for validating the changes?
- [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
# Changelog Entry
### Description
## Additional Information
- After my tests, all latex formulas can be displayed normally now,but still need to wait for the message to end before rendering in latex
## Screenshots or Videos
https://github.com/user-attachments/assets/6f601075-ee94-4a63-9492-3a22a39077f0
https://github.com/user-attachments/assets/1e4c3f96-ac0a-48d6-96ea-b24cb14ab52d
## Important
### If the formula is too long on the mobile side may exceed the scope of the page, hope someone to resolve it!
---
<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/4545
Author: @Yanyutin753
Created: 8/12/2024
Status: ❌ Closed
Base:
main← Head:Katex📝 Commits (10+)
6a012d2migration to SvelteKit 25315fb2changelod updatedb289eeftypo831fe9fcleanup44c781fcleanupfc31267refac: re-use utils.misced205d8fix: pop4105c97revert filesf62281aMerge branch 'dev' of https://github.com/open-webui/open-webui into remove-ollama2fb4d33fix: #4158 allow reconnection when websocket is closed📊 Changes
65 files changed (+1094 additions, -1204 deletions)
View changed files
📝
.github/workflows/integration-test.yml(+7 -0)📝
backend/apps/images/main.py(+6 -4)📝
backend/apps/images/utils/comfyui.py(+5 -3)📝
backend/apps/ollama/main.py(+84 -309)📝
backend/apps/openai/main.py(+5 -2)📝
backend/apps/webui/main.py(+4 -2)📝
backend/config.py(+6 -0)📝
backend/main.py(+2 -1)📝
backend/requirements.txt(+4 -4)📝
backend/utils/misc.py(+45 -5)📝
cypress/e2e/chat.cy.ts(+18 -13)📝
package-lock.json(+383 -595)📝
package.json(+21 -15)📝
pyproject.toml(+1 -1)📝
src/lib/apis/index.ts(+1 -0)📝
src/lib/components/chat/Messages/CodeBlock.svelte(+9 -6)➕
src/lib/components/chat/Messages/KatexRenderer.svelte(+9 -0)📝
src/lib/components/chat/Messages/MarkdownInlineTokens.svelte(+13 -3)📝
src/lib/components/chat/Messages/MarkdownTokens.svelte(+106 -119)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+80 -91)...and 45 more files
📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Additional Information
Screenshots or Videos
https://github.com/user-attachments/assets/6f601075-ee94-4a63-9492-3a22a39077f0
https://github.com/user-attachments/assets/1e4c3f96-ac0a-48d6-96ea-b24cb14ab52d
Important
If the formula is too long on the mobile side may exceed the scope of the page, hope someone to resolve it!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.