bingAI: remove chatmessages.js

This commit is contained in:
James Feng Cao 2023-04-06 17:20:51 +08:00
parent bfa1a68ed2
commit 3672627e81
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -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": [{