Explorar el Código

修改this.apiPath

Ryuiso hace 1 año
padre
commit
aa4eb775e0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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) {