From a903c7114ccec1886e11651d95348c81c67f9789 Mon Sep 17 00:00:00 2001 From: mylomen <1290251929@qq.com> Date: Tue, 30 Apr 2024 20:30:12 +0800 Subject: [PATCH] to:sync --- static/ai-chat.html | 293 +++++++++++++++++++++++++++++++++++++++++++ static/ai-chat1.html | 2 +- 2 files changed, 294 insertions(+), 1 deletion(-) create mode 100644 static/ai-chat.html diff --git a/static/ai-chat.html b/static/ai-chat.html new file mode 100644 index 0000000..9a2270a --- /dev/null +++ b/static/ai-chat.html @@ -0,0 +1,293 @@ + + + + + Title + + + + +
+
+ +
+ + +
+ + + + diff --git a/static/ai-chat1.html b/static/ai-chat1.html index 743fbb6..34cb371 100644 --- a/static/ai-chat1.html +++ b/static/ai-chat1.html @@ -191,7 +191,7 @@ history: messageHistory }; $.ajax({ - url: "http://127.0.0.1:8081/assistant", + url: "http://127.0.0.1:11434/api/chat", type: "POST", contentType: "application/json", dataType: "json",