Bladeren bron

拉取最新

sunsheng 1 maand geleden
bovenliggende
commit
b6ca20f1c4
3 gewijzigde bestanden met toevoegingen van 5 en 4 verwijderingen
  1. 2 2
      app/client/platforms/deepSeek.ts
  2. 1 1
      app/components/home.tsx
  3. 2 1
      next.config.mjs

+ 2 - 2
app/client/platforms/deepSeek.ts

@@ -22,8 +22,8 @@ export class DeepSeekApi implements LLMApi {
   constructor() {
     // this.baseURL = 'http://192.168.3.209:18078';
     this.baseURL = '/deepseek-api';
-    this.apiPath = this.baseURL + '/vllm/ai/chat';//线上地址
-    // this.apiPath = this.baseURL + '/vllm/chat'; // 测试地址 
+    // this.apiPath = this.baseURL + '/vllm/ai/chat';//线上地址
+    this.apiPath = this.baseURL + '/vllm/chat'; // 测试地址 
   }
 
   async chat(options: ChatOptions) {

+ 1 - 1
app/components/home.tsx

@@ -368,7 +368,7 @@ export function Home() {
   }
 
   const toUninLogin = async (originUrl: string, fullUrl: string) => {
-    // return
+    return
     //测试环境
     //const loginUrl = 'https://esctest.sribs.com.cn/esc-sso/oauth2.0/authorize?client_id=e97f94cf93761f4d69e8&response_type=code';
     //生产环境

+ 2 - 1
next.config.mjs

@@ -94,7 +94,8 @@ if (mode !== "export") {
         source: "/bigmodel-api/:path*",
         // destination: "http://192.168.3.3:8091/:path*",
         // destination: "http://xia0miduo.gicp.net:8091/:path*",
-        destination: "http://192.168.3.123:8091/:path*",
+        // destination: "http://192.168.3.123:8091/:path*", // 公司
+        destination: "http://172.16.30.146:8090/:path*",
       },
       {
         source: "/deepseek-api/:path*",