74 lines
2.3 KiB
YAML
Raw Normal View History

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-12 09:56:34 +08:00
url: jdbc:mysql://8.153.108.90:3306/agent_foundation?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&useSSL=false
2026-06-12 10:21:54 +08:00
username: root
2026-06-11 11:44:00 +08:00
password: "yd708090"
2026-06-12 09:56:34 +08:00
driver-class-name: com.mysql.cj.jdbc.Driver
2026-06-02 18:57:04 +08:00
hikari:
maximum-pool-size: 5
minimum-idle: 1
connection-timeout: 30000
2026-06-01 19:09:40 +08:00
management:
endpoints:
web:
exposure:
2026-06-12 17:28:47 +08:00
include: health,info,metrics,mappings
2026-06-01 19:09:40 +08:00
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:44:00 +08:00
api-key: sk-b008441047f24558bd4e4cea817206c3
2026-06-01 19:09:40 +08:00
read-timeout-ms: 60000
max-retries: 2
2026-07-13 17:17:55 +08:00
coze:
base-url: https://api.coze.cn
chat-path: /v1/workflows/chat
2026-07-13 17:55:15 +08:00
api-key: ${COZE_API_KEY:cztei_qKcNWz5IvhFXAkcxTNFOE7Tnaaua8GJ7VyOREi99l9nGvR7uGjbpqkf3ZmCrYu94T}
2026-07-13 17:17:55 +08:00
default-workflow: wecom-default
workflows:
wecom-default:
workflow-id: "7661923520095862811"
app-id: "7661851003527954473"
parameters: {}
read-timeout-ms: 60000
max-retries: 2
2026-06-01 19:09:40 +08:00
wecom:
enabled: true
2026-07-13 17:31:50 +08:00
corp-id: wwaec174f56094f2b5
agent-id: 1000003
secret: Sq76WOBNf3S85RoSzrJ_3u5iQrl8DRTvjTv9X0-z7HE
2026-06-11 11:44:00 +08:00
token: crmAgentToken2026
encoding-aes-key: k3F8mN2vQ7xLp9sTd4YwH6cRb1JuEz5AaZq7BnVcK2D
2026-06-01 19:09:40 +08:00
callback-path: /v1/integrations/wecom/callback
2026-07-13 17:31:50 +08:00
# wecom:
# enabled: true
# corp-id: ww11a329ca8ee0c40e
# agent-id: 1000002
# secret: 8tnH50ISscWBhQbxSzjRrA6XT2oJBUvEdEpY77hmEK4
# student-contact-secret: 8tnH50ISscWBhQbxSzjRrA6XT2oJBUvEdEpY77hmEK4
# token: crmAgentToken2026
# encoding-aes-key: k3F8mN2vQ7xLp9sTd4YwH6cRb1JuEz5AaZq7BnVcK2D
# callback-path: /v1/integrations/wecom/callback
2026-06-12 17:28:47 +08:00
mini-program:
datasource:
url: jdbc:sqlserver://rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com:1433;databaseName=YD_WeChatAppletDB_QA;encrypt=true;trustServerCertificate=true;loginTimeout=500
username: qa
password: "Admin@123"
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver