Commit 9e48aeca authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: web search

parent 4fea55ba
......@@ -770,6 +770,11 @@
if (model?.info?.meta?.knowledge ?? false) {
files.push(...model.info.meta.knowledge);
}
if (responseMessage?.files) {
files.push(
...responseMessage?.files.filter((item) => ['web_search_results'].includes(item.type))
);
}
eventTarget.dispatchEvent(
new CustomEvent('chat:start', {
......@@ -1005,6 +1010,11 @@
if (model?.info?.meta?.knowledge ?? false) {
files.push(...model.info.meta.knowledge);
}
if (responseMessage?.files) {
files.push(
...responseMessage?.files.filter((item) => ['web_search_results'].includes(item.type))
);
}
scrollToBottom();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment