2026-09-03 11:18:51 +08:00
|
|
|
|
server:
|
|
|
|
|
|
port: 8088
|
|
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
|
application:
|
|
|
|
|
|
name: xiaoqu-agent-service
|
|
|
|
|
|
ai:
|
|
|
|
|
|
mcp:
|
|
|
|
|
|
server:
|
|
|
|
|
|
name: xiaoqu-agent-service
|
|
|
|
|
|
version: 0.1.0
|
|
|
|
|
|
# Streamable HTTP 传输(Spring AI 1.1.8 已修复 Boot 3.5.x 下的 streamable NPE,
|
|
|
|
|
|
# 见 spring-projects/spring-ai#6274),默认端点 /mcp
|
|
|
|
|
|
protocol: STREAMABLE
|
2026-09-03 12:01:09 +08:00
|
|
|
|
# SYNC:工具回调在 servlet 请求线程上同步执行,ThreadLocal 鉴权上下文有效(实测验证)
|
|
|
|
|
|
type: SYNC
|
2026-09-03 11:18:51 +08:00
|
|
|
|
|
|
|
|
|
|
logging:
|
|
|
|
|
|
level:
|
|
|
|
|
|
me.iiv.agent: debug
|