mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
s
This commit is contained in:
parent
0af6b994ed
commit
f800a229dd
2 changed files with 2 additions and 2 deletions
|
@ -2058,7 +2058,7 @@ function chatmore()
|
|||
fetch("https://search.kg/completions", optionsMore)
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
JSON.parse(data.choices[0].text.replaceAll("\n","")).forEach(item => {
|
||||
JSON.parse(data.choices[0].message.content.replaceAll("\n","")).forEach(item => {
|
||||
document.querySelector("#chat_more").innerHTML += '<button class="btn_more" onclick="send_webchat(this)">'+ String(item) +'</button>'
|
||||
});
|
||||
})
|
||||
|
|
|
@ -2058,7 +2058,7 @@ function chatmore()
|
|||
fetch("https://search.kg/completions", optionsMore)
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
JSON.parse(data.choices[0].text.replaceAll("\n","")).forEach(item => {
|
||||
JSON.parse(data.choices[0].message.content.replaceAll("\n","")).forEach(item => {
|
||||
document.querySelector("#chat_more").innerHTML += '<button class="btn_more" onclick="send_webchat(this)">'+ String(item) +'</button>'
|
||||
});
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue