This commit is contained in:
luke 2025-06-24 19:51:32 +08:00
parent dd6aebf566
commit 036174596b
2 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ const defaultConfig = {
},
llmToken: {
name: "获取 AnythingLLM Token 接口",
url: "http://app-test.wisdompulse.cn/api/v1/llm/token",
url: "http://app.wisdompulse.cn/api/v1/llm/token",
requestParams: [
{ label: "密码字段", field: "password" }
],
@ -63,7 +63,7 @@ const defaultConfig = {
},
llmChat: {
name: "指定工作区对话接口",
url: "http://app-test.wisdompulse.cn/api/v1/llm/ask",
url: "http://app.wisdompulse.cn/api/v1/llm/ask",
requestParams: [
{ label: "问题字段", field: "question" },
{ label: "历史字段", field: "attachments" }

View File

@ -1,6 +1,6 @@
const output = document.getElementById("output");
fetch("http://app-test.wisdompulse.cn/api/v1/llm/demo", {
fetch("http://localhost:18081/api/v1/llm/demo", {
method: "POST",
headers: {
"Content-Type": "application/json",