summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client/static/js/chat.v1.js
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-03-16 18:07:53 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-03-16 18:07:53 +0100
commit4778356064a005f0dec78a8fef40a26289217d7c (patch)
treed1835ab078e6a028c94b212d8f7530f1a78cc66f /g4f/gui/client/static/js/chat.v1.js
parentAdd copilot conversation mode (diff)
downloadgpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar.gz
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar.bz2
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar.lz
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar.xz
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar.zst
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.zip
Diffstat (limited to 'g4f/gui/client/static/js/chat.v1.js')
-rw-r--r--g4f/gui/client/static/js/chat.v1.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/g4f/gui/client/static/js/chat.v1.js b/g4f/gui/client/static/js/chat.v1.js
index 6d45dfd7..5440fc4a 100644
--- a/g4f/gui/client/static/js/chat.v1.js
+++ b/g4f/gui/client/static/js/chat.v1.js
@@ -198,7 +198,9 @@ const prepare_messages = (messages, filter_last_message=true) => {
}
async function add_message_chunk(message) {
- if (message.type == "provider") {
+ if (message.type == "conversation") {
+ console.info("Conversation used:", message.conversation)
+ } else if (message.type == "provider") {
window.provider_result = message.provider;
window.content.querySelector('.provider').innerHTML = `
<a href="${message.provider.url}" target="_blank">