Files
xiaoqu_mcp_service/xiaoqu-agent-service/src/main/resources/application.yml
T

35 lines
864 B
YAML
Raw Normal View History

server:
port: 8088
servlet:
session:
timeout: 30m
cookie:
http-only: true
same-site: strict
secure: ${ADMIN_COOKIE_SECURE:false}
app:
admin:
bootstrap:
account: ${ADMIN_BOOTSTRAP_ACCOUNT:}
password: ${ADMIN_BOOTSTRAP_PASSWORD:}
name: ${ADMIN_BOOTSTRAP_NAME:系统管理员}
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
# SYNC:工具回调在 servlet 请求线程上同步执行,ThreadLocal 鉴权上下文有效(实测验证)
type: SYNC
logging:
level:
me.iiv.agent: debug