feat(core): 集成Spring AI与Apple登录并新增聊天接口
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
spring:
|
||||
ai:
|
||||
openai:
|
||||
api-key: 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
|
||||
base-url: https://openrouter.ai/api/
|
||||
chat:
|
||||
options:
|
||||
model: google/gemini-2.5-flash-lite
|
||||
dashscope:
|
||||
api-key: 11
|
||||
application:
|
||||
name: keyborad-backend
|
||||
profiles:
|
||||
@@ -16,14 +25,20 @@ spring:
|
||||
timeout: 86400
|
||||
store-type: redis
|
||||
# redis 配置
|
||||
redis:
|
||||
port: 6379
|
||||
host: localhost
|
||||
database: 0
|
||||
data:
|
||||
redis:
|
||||
port: 6379
|
||||
host: localhost
|
||||
database: 0
|
||||
|
||||
server:
|
||||
port: 7529
|
||||
servlet:
|
||||
context-path: /api
|
||||
encoding:
|
||||
charset: UTF-8
|
||||
force: true
|
||||
enabled: true
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: false
|
||||
|
||||
Reference in New Issue
Block a user