Bladeren bron

修改this.apiPath

Ryuiso 1 jaar geleden
bovenliggende
commit
aa4eb775e0
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  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) {