fix: websearch not working issue

#5672
This commit is contained in:
Timothy J. Baek 2024-09-24 18:25:21 +02:00
parent bf423b8577
commit 525095b3de
1 changed files with 6 additions and 2 deletions

View File

@ -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 = [