浏览代码

Merge pull request #5776 from ConnectAI-E/feat-glm

fix: glm chatpath
Lloyd Zhou 1 年之前
父节点
当前提交
f4c9410c29
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/constant.ts

+ 1 - 1
app/constant.ts

@@ -232,7 +232,7 @@ export const XAI = {
 
 export const ChatGLM = {
   ExampleEndpoint: CHATGLM_BASE_URL,
-  ChatPath: "/api/paas/v4/chat/completions",
+  ChatPath: "api/paas/v4/chat/completions",
 };
 
 export const DEFAULT_INPUT_TEMPLATE = `{{input}}`; // input / time / model / lang