From f87dc39ec1f25493848fc9dfaeb05d6fdbbc6de2 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 12 三月 2026 11:21:54 +0800
Subject: [PATCH] #
---
src/main/resources/application.yml | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 5ffc018..99d3d5e 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 璁惧鐘舵�併�佷换鍔°�佹棩蹇楀拰閰嶇疆鏌ヨ鑳藉姏
+ annotation-scanner:
+ enabled: false
+ capabilities:
+ tool: true
+ resource: false
+ prompt: false
+ completion: false
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
@@ -97,6 +117,9 @@
llm:
# 鐜板凡杩佺Щ鍒版暟鎹簱琛� sys_llm_route 缁存姢锛堟敮鎸佸API/澶氭ā鍨�/澶欿ey鑷姩鍒囨崲锛�
# 浠ヤ笅浠呬綔涓烘暟鎹簱涓虹┖鏃剁殑鍏煎鍥為��閰嶇疆
+ # SpringAI 瀹㈡埛绔秴鏃堕厤缃�
+ connect-timeout-ms: 10000
+ read-timeout-ms: 12000
thinking: false
base-url:
api-key:
--
Gitblit v1.9.1