Parcourir la source

local api key

tanlie il y a 4 mois
Parent
commit
f14a95fa24
1 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. 5 3
      chatgpt/src/main/resources/application.yml

+ 5 - 3
chatgpt/src/main/resources/application.yml

@@ -1,12 +1,14 @@
 server:
-  port: 8080
+  port: 3000
 spring:
   application:
     name: ai-application
   ai:
     openai:
-      api-key: sk-71RyBMlhwTDKC5jABYdYkN0e6QAiFGJ01RW5oAKBTrIKRQGd
-      base-url: https://api.moonshot.cn
+      api-key: sk-sq8MfPnD7Y7m0dVCUhLjQofGliKem1w2PMBYTEZ5GwieMp4b
+      base-url: http://192.168.1.10:3000
+      #api-key: sk-71RyBMlhwTDKC5jABYdYkN0e6QAiFGJ01RW5oAKBTrIKRQGd
+      #base-url: https://api.moonshot.cn
       #api-key: sk-zCUZT5DJCnAubc10517470Ce06C544Bd8a7c3726608517Fe
       #base-url: https://api.pumpkinaigc.online
       chat: