mirror of
https://github.com/torappinfo/uweb.git
synced 2025-01-15 08:31:00 +01:00
bingAI: remove chatmessages.js
This commit is contained in:
parent
bfa1a68ed2
commit
3672627e81
|
@ -15,10 +15,10 @@
|
|||
<div id="tail">
|
||||
<div id="tail-in">
|
||||
<input id="restartNewChat" class="onShow" type="button" value="new chat">
|
||||
<input id="restart" type="button" value="restart">
|
||||
<input id="restart" type="button" value="🧹">
|
||||
<div id="input-div">
|
||||
<textarea id="input" type="text" enterkeyhint="send" maxlength="2000" autocapitalize="off" autocomplete="off" aria-autocomplete="both" spellcheck="false" aria-label="ask Bing" autocorrect="off" placeholder="type question here..."></textarea>
|
||||
<input id="send" type="button" value="submit">
|
||||
<input id="send" type="button" value="✓">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -78,7 +78,7 @@
|
|||
async function getMagicUrl() {
|
||||
let v = localStorage.GoGoUrl;
|
||||
if(v) return v;
|
||||
return "https://mybing2.xn--xyza.top/";
|
||||
return "https://muweb.us.to/";
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="./js/GetSet.js"></script>
|
||||
|
|
|
@ -130,9 +130,9 @@ class SendMessageManager {
|
|||
//获取用于发送的聊天数据
|
||||
//(WebSocket,sreing)
|
||||
sendChatMessage(chatWebSocket, chat) {
|
||||
let pos = getStartProposes();
|
||||
let pos = ['','','']; //initial 3 suggestions
|
||||
let previousMessages = [{
|
||||
"text": getStartMessage(),
|
||||
"text": '',
|
||||
"author": "bot",
|
||||
"adaptiveCards": [],
|
||||
"suggestedResponses": [{
|
||||
|
|
Loading…
Reference in a new issue