mirror of
https://github.com/torappinfo/uweb.git
synced 2025-01-15 16:40:57 +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">
|
||||||
<div id="tail-in">
|
<div id="tail-in">
|
||||||
<input id="restartNewChat" class="onShow" type="button" value="new chat">
|
<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">
|
<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>
|
<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>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
async function getMagicUrl() {
|
async function getMagicUrl() {
|
||||||
let v = localStorage.GoGoUrl;
|
let v = localStorage.GoGoUrl;
|
||||||
if(v) return v;
|
if(v) return v;
|
||||||
return "https://mybing2.xn--xyza.top/";
|
return "https://muweb.us.to/";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="./js/GetSet.js"></script>
|
<script type="text/javascript" src="./js/GetSet.js"></script>
|
||||||
|
|
|
@ -130,9 +130,9 @@ class SendMessageManager {
|
||||||
//获取用于发送的聊天数据
|
//获取用于发送的聊天数据
|
||||||
//(WebSocket,sreing)
|
//(WebSocket,sreing)
|
||||||
sendChatMessage(chatWebSocket, chat) {
|
sendChatMessage(chatWebSocket, chat) {
|
||||||
let pos = getStartProposes();
|
let pos = ['','','']; //initial 3 suggestions
|
||||||
let previousMessages = [{
|
let previousMessages = [{
|
||||||
"text": getStartMessage(),
|
"text": '',
|
||||||
"author": "bot",
|
"author": "bot",
|
||||||
"adaptiveCards": [],
|
"adaptiveCards": [],
|
||||||
"suggestedResponses": [{
|
"suggestedResponses": [{
|
||||||
|
|
Loading…
Reference in a new issue