Browse Source

Merge branch 'dt' of wangfan/adweb3-server into master

wangfan 4 months ago
parent
commit
afe70e2d9d

+ 3 - 3
jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml

@@ -295,11 +295,11 @@ jeecg:
   # ai-chat
   ai-chat:
     # 是否开启;必须。
-    enabled: false
+    enabled: true
     # openAi接口秘钥,填写自己的apiKey;必须。
-    apiKey: "????"
+    apiKey: sk-qiRbJ62llvdWtFPF74B4C398B0D049A4A5B001E9B1C18e4f
     # openAi域名,有代理就填代理的域名。默认:openAI官方apiHost
-    apiHost: "https://api.openai.com"
+    apiHost: https://api.cinfohubs.buzz/
     # 超时时间单位:s。默认 60s
     timeout: 60
 

+ 11 - 0
jeecg-module-system/jeecg-system-start/src/main/resources/application-prod.yml

@@ -294,6 +294,17 @@ jeecg:
     password:
     type: STANDALONE
     enabled: true
+  # ai-chat
+  ai-chat:
+    # 是否开启;必须。
+    enabled: true
+    # openAi接口秘钥,填写自己的apiKey;必须。
+    apiKey: sk-qiRbJ62llvdWtFPF74B4C398B0D049A4A5B001E9B1C18e4f
+    # openAi域名,有代理就填代理的域名。默认:openAI官方apiHost
+    apiHost: https://api.cinfohubs.buzz/
+    # 超时时间单位:s。默认 60s
+    timeout: 60
+
 #cas单点登录
 cas:
   prefixUrl: http://cas.example.org:8443/cas