瀏覽代碼

修改this.apiPath

Ryuiso 1 年之前
父節點
當前提交
aa4eb775e0
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/client/platforms/bigmodel.ts

+ 2 - 1
app/client/platforms/bigmodel.ts

@@ -18,7 +18,8 @@ export class BigModelApi implements LLMApi {
   public apiPath: string;
 
   constructor() {
-    this.apiPath = 'http://49.234.30.234:8091/bigmodel/api/model-api/1833110111435071488/sse-invoke';
+    // this.apiPath = 'http://49.234.30.234:8091/bigmodel/api/model-api/1833110111435071488/sse-invoke';
+    this.apiPath = '/bigmodel';
   }
 
   async chat(options: ChatOptions) {