2026-06-01 19:09:40 +08:00
|
|
|
server:
|
2026-06-01 19:50:54 +08:00
|
|
|
port: 8880
|
2026-06-01 19:09:40 +08:00
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
name: agent-foundation
|
2026-06-02 18:57:04 +08:00
|
|
|
datasource:
|
2026-06-11 11:25:57 +08:00
|
|
|
url: jdbc:sqlserver://rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com:1433;databaseName=SmartSportsServerDB_QA;encrypt=true;trustServerCertificate=true;loginTimeout=30
|
|
|
|
|
username: yd
|
|
|
|
|
password: "yd708090"
|
2026-06-02 18:57:04 +08:00
|
|
|
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
|
hikari:
|
|
|
|
|
maximum-pool-size: 5
|
|
|
|
|
minimum-idle: 1
|
|
|
|
|
connection-timeout: 30000
|
2026-06-01 19:09:40 +08:00
|
|
|
management:
|
|
|
|
|
endpoints:
|
|
|
|
|
web:
|
|
|
|
|
exposure:
|
|
|
|
|
include: health,info,metrics
|
|
|
|
|
foundation:
|
|
|
|
|
auth:
|
|
|
|
|
keys:
|
|
|
|
|
crm-assistant: crm-dev-key
|
|
|
|
|
kb-assistant: kb-dev-key
|
|
|
|
|
cs-assistant: cs-dev-key
|
|
|
|
|
model-router:
|
|
|
|
|
default-model: deepseek-chat
|
|
|
|
|
route-by-agent:
|
|
|
|
|
crm-assistant: deepseek-chat
|
|
|
|
|
kb-assistant: deepseek-chat
|
|
|
|
|
cs-assistant: deepseek-chat
|
|
|
|
|
deepseek:
|
|
|
|
|
base-url: https://api.deepseek.com
|
|
|
|
|
chat-path: /chat/completions
|
2026-06-11 11:25:57 +08:00
|
|
|
api-key: ""
|
2026-06-01 19:09:40 +08:00
|
|
|
read-timeout-ms: 60000
|
|
|
|
|
max-retries: 2
|
|
|
|
|
wecom:
|
|
|
|
|
enabled: true
|
2026-06-11 11:25:57 +08:00
|
|
|
corp-id: wwaec174f56094f2b5
|
|
|
|
|
agent-id: 1000003
|
|
|
|
|
secret: Sq76WOBNf3S85RoSzrJ_3u5iQrl8DRTvjTv9X0-z7HE
|
|
|
|
|
token: crmAgentToken2026
|
|
|
|
|
encoding-aes-key: k3F8mN2vQ7xLp9sTd4YwH6cRb1JuEz5AaZq7BnVcK2D
|
2026-06-01 19:09:40 +08:00
|
|
|
crm-agent-id: crm-assistant
|
|
|
|
|
callback-path: /v1/integrations/wecom/callback
|