# ============================================================
|
# smoke 冒烟测试 profile:使用 H2 内存库 + mock LLM + 关闭 RAG
|
# 目的:不依赖 MySQL / Ollama / Python 服务,即可验证
|
# 登录 -> 建会话 -> SSE 流式对话 -> 消息树 -> 消息编辑分支
|
# 启动:mvn spring-boot:run -Dspring-boot.run.profiles=smoke
|
# ============================================================
|
spring:
|
datasource:
|
url: jdbc:h2:mem:webui;MODE=MySQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;DATABASE_TO_LOWER=TRUE
|
username: sa
|
password: ''
|
driver-class-name: org.h2.Driver
|
|
sql:
|
init:
|
mode: always
|
schema-locations: classpath:db/h2-schema.sql
|
|
h2:
|
console:
|
enabled: true
|
path: /h2-console
|
|
mybatis-plus:
|
configuration:
|
log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
|
|
webui:
|
llm:
|
provider: mock
|
rag:
|
enabled: false
|
storage:
|
location: ./target/smoke-uploads
|
|
logging:
|
level:
|
com.custom.webui: INFO
|