[PR #8377] [MERGED] fix: Multiple Fixes for Range and Type Errors #9008

Closed
opened 2025-11-11 18:11:43 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/8377
Author: @Vojtech-Siler
Created: 1/7/2025
Status: Merged
Merged: 1/8/2025
Merged by: @tjbck

Base: devHead: multiple-error-fixes


📝 Commits (3)

  • 506dc01 Merge pull request #8246 from open-webui/dev
  • 1dfb479 Merge pull request #8329 from open-webui/dev
  • 70a6a0d Fix errors for RangeErrors, Fix for accessing undefined objects in Chat.svelte

📊 Changes

2 files changed (+21 additions, -17 deletions)

View changed files

📝 src/lib/components/chat/Chat.svelte (+11 -9)
📝 src/lib/components/common/RichTextInput/AutoCompletion.js (+10 -8)

📄 Description

Changelog Entry

Description

  • The PR provides null checks for multiple errors. The changes in AutoCompletion.js file adds an if statement that checks whether the state matches the new state, preventing a "Applying a mismatched transaction" error, and a "Position outside of fragment" error. The changes in Chat.svelte add nullchecks to prevent TypeErrors that happen when trying to access undefined objects.

Added

Changed

Deprecated

Removed

Fixed

  • Fixes to RangeErrors and TypeErrors in AutoCompletion.js and Chat.svelte

Security

Breaking Changes


Additional Information

Screenshots or Videos


🔄 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/8377 **Author:** [@Vojtech-Siler](https://github.com/Vojtech-Siler) **Created:** 1/7/2025 **Status:** ✅ Merged **Merged:** 1/8/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `multiple-error-fixes` --- ### 📝 Commits (3) - [`506dc01`](https://github.com/open-webui/open-webui/commit/506dc0149ca973e20768fa3d6f171afac289f606) Merge pull request #8246 from open-webui/dev - [`1dfb479`](https://github.com/open-webui/open-webui/commit/1dfb479d367e5f5902f051c823f9aef836e04791) Merge pull request #8329 from open-webui/dev - [`70a6a0d`](https://github.com/open-webui/open-webui/commit/70a6a0d9e842a8b9defae664804cd3f9b1efe8ff) Fix errors for RangeErrors, Fix for accessing undefined objects in Chat.svelte ### 📊 Changes **2 files changed** (+21 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Chat.svelte` (+11 -9) 📝 `src/lib/components/common/RichTextInput/AutoCompletion.js` (+10 -8) </details> ### 📄 Description # Changelog Entry ### Description - The PR provides null checks for multiple errors. The changes in AutoCompletion.js file adds an if statement that checks whether the state matches the new state, preventing a "Applying a mismatched transaction" error, and a "Position outside of fragment" error. The changes in Chat.svelte add nullchecks to prevent TypeErrors that happen when trying to access undefined objects. ### Added - ### Changed - ### Deprecated - ### Removed - ### Fixed - Fixes to RangeErrors and TypeErrors in AutoCompletion.js and Chat.svelte ### Security - ### Breaking Changes - --- ### Additional Information - ### Screenshots or Videos - --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 18:11:43 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#9008