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

45 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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
flyway:
enabled: true
locations: classpath:db/migration
baseline-on-migrate: ${SVC_FLYWAY_BASELINE_ON_MIGRATE:false}
baseline-version: 1
baseline-description: legacy V1 schema
validate-on-migrate: true
validate-migration-naming: true
out-of-order: false
clean-disabled: true
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