2026-06-11 11:37:38 +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:31:49 +08:00
|
|
|
url: ${CRM_DB_URL:jdbc:sqlserver://rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com:1433;databaseName=SmartSportsServerDB_QA;encrypt=true;trustServerCertificate=true;loginTimeout=30}
|
|
|
|
|
username: ${CRM_DB_USERNAME:yd}
|
|
|
|
|
password: ${CRM_DB_PASSWORD:}
|
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:31:49 +08:00
|
|
|
api-key: ${DEEPSEEK_API_KEY:}
|
2026-06-01 19:09:40 +08:00
|
|
|
read-timeout-ms: 60000
|
|
|
|
|
max-retries: 2
|
|
|
|
|
wecom:
|
|
|
|
|
enabled: true
|
2026-06-11 11:31:49 +08:00
|
|
|
corp-id: ${WECOM_CORP_ID:}
|
|
|
|
|
agent-id: ${WECOM_AGENT_ID:1000002}
|
|
|
|
|
secret: ${WECOM_SECRET:}
|
|
|
|
|
token: ${WECOM_TOKEN:}
|
|
|
|
|
encoding-aes-key: ${WECOM_ENCODING_AES_KEY:}
|
2026-06-01 19:09:40 +08:00
|
|
|
crm-agent-id: crm-assistant
|
|
|
|
|
callback-path: /v1/integrations/wecom/callback
|