From 909164aa1859fdf25330eb130bc90b8bd22e540b Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 24 三月 2026 12:00:51 +0800
Subject: [PATCH] #
---
src/main/resources/application.yml | 39 ++++++++++++++++++++++++++++++++++++++-
1 files changed, 38 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 6c3a42f..a45d6bc 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -51,6 +51,26 @@
await-termination-period: 30s
lifecycle:
timeout-per-shutdown-phase: 20s
+ ai:
+ mcp:
+ server:
+ base-url: "${app.ai.mcp.server.public-base-url:http://127.0.0.1:${server.port:9090}${server.servlet.context-path:}}"
+ name: wcs-mcp
+ version: 1.0.0
+ protocol: STREAMABLE
+ type: SYNC
+ sse-endpoint: /ai/mcp/sse
+ sse-message-endpoint: /ai/mcp/message
+ streamable-http:
+ mcp-endpoint: /ai/mcp
+ instructions: 鎻愪緵 WCS 璁惧鐘舵�併�佷换鍔°�佹棩蹇椼�侀厤缃拰涓绘祦绋嬩吉浠g爜鏌ヨ鑳藉姏
+ annotation-scanner:
+ enabled: false
+ capabilities:
+ tool: true
+ resource: false
+ prompt: false
+ completion: false
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
@@ -94,12 +114,29 @@
# 鏃ュ織杩囨湡鏃堕棿 鍗曚綅澶�
expireDays: 7
+devicePingStorage:
+ enabled: true
+ # 绉掔骇璁惧缃戠粶鎺㈡祴鏃ュ織瀛樺偍鍦板潃
+ loggingPath: ./stock/out/@pom.build.finalName@/devicePingLogs
+ # 鏃ュ織杩囨湡鏃堕棿 鍗曚綅澶�
+ expireDays: 7
+ # 閲囨牱鍛ㄦ湡锛堟绉掞級
+ intervalMs: 1000
+ # 鍗曟鎺㈡祴瓒呮椂锛堟绉掞級
+ timeoutMs: 800
+ # 姣忎釜鏍锋湰鍐呰繛缁帰娴嬫鏁帮紝鐢ㄤ簬鐩存帴寰楀埌 min/avg/max 涓変釜鎸囨爣
+ probeCount: 3
+ # ping 鏁版嵁鍖呭ぇ灏忥紙瀛楄妭锛夛紝< 0 鏃舵部鐢ㄧ郴缁熼粯璁わ紱Windows 瀵瑰簲 -l锛宮acOS/Linux 瀵瑰簲 -s
+ packetSize: 1024
+ # 骞惰鎺㈡祴绾跨▼鏁�
+ maxParallel: 8
+
llm:
# 鐜板凡杩佺Щ鍒版暟鎹簱琛� sys_llm_route 缁存姢锛堟敮鎸佸API/澶氭ā鍨�/澶欿ey鑷姩鍒囨崲锛�
# 浠ヤ笅浠呬綔涓烘暟鎹簱涓虹┖鏃剁殑鍏煎鍥為��閰嶇疆
# SpringAI 瀹㈡埛绔秴鏃堕厤缃�
connect-timeout-ms: 10000
- read-timeout-ms: 12000
+ read-timeout-ms: 120000
thinking: false
base-url:
api-key:
--
Gitblit v1.9.1