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", diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 4e521f789..b6e2210a4 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1683,9 +1683,14 @@ } }; - 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]; + const messages = createMessagesList(history.currentId); responseMessage.statusHistory = [ {