소스 검색

修改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) {