From 525095b3de047748c8e145bebd8306e9bb38f339 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 24 Sep 2024 18:25:21 +0200 Subject: [PATCH 1/3] fix: websearch not working issue #5672 --- src/lib/components/chat/Chat.svelte | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 4e521f789..af037851a 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1683,8 +1683,12 @@ } }; - const getWebSearchResults = async (model: string, parentId: string, responseId: string) => { - const responseMessage = history.messages[responseId]; + const getWebSearchResults = async ( + model: string, + parentId: string, + responseMessageId: string + ) => { + const responseMessage = history.messages[responseMessageId]; const userMessage = history.messages[parentId]; responseMessage.statusHistory = [ From 07b1327708dbb6599360b5731ab90e468e809ed4 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 24 Sep 2024 18:32:14 +0200 Subject: [PATCH 2/3] fix --- src/lib/components/chat/Chat.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index af037851a..b6e2210a4 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1690,6 +1690,7 @@ ) => { const responseMessage = history.messages[responseMessageId]; const userMessage = history.messages[parentId]; + const messages = createMessagesList(history.currentId); responseMessage.statusHistory = [ { From 40f2c3521bd48aa881907415a5ee940caac31c24 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 24 Sep 2024 18:50:47 +0200 Subject: [PATCH 3/3] doc: changelog --- CHANGELOG.md | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90608807d..fb56e4c6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.3.28] - 2024-09-24 + +### Fixed + +- **🔍 Web Search Functionality**: Corrected an issue where the web search option was not functioning properly. + ## [0.3.27] - 2024-09-24 ### Fixed diff --git a/package-lock.json b/package-lock.json index 93cdb36c9..f7039ed6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.3.27", + "version": "0.3.28", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.3.27", + "version": "0.3.28", "dependencies": { "@codemirror/lang-javascript": "^6.2.2", "@codemirror/lang-python": "^6.1.6", diff --git a/package.json b/package.json index acca68ce3..14db68798 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-webui", - "version": "0.3.27", + "version": "0.3.28", "private": true, "scripts": { "dev": "npm run pyodide:fetch && vite dev --host",