ssw 2d6a91d858 feat(ssw-common): SswLLMClient 改读 SSW_LLM_* 环境变量 + minimax 适配 (BS-新61/62)
## 背景
- minimax 替换 DeepSeek 作为后端 AI 推理
- 配置信息在环境变量 (SSW_LLM_*), 同步到 base_ai 表

## 数据源优先级 (v0.16+ BS-新62)
1. 环境变量 SSW_LLM_BASE_URL / SSW_LLM_API_KEY / SSW_LLM_MODEL (推荐)
2. base_ai 表 (主库 dbLinkId=0, fallback)
3. 环境变量 ANTHROPIC_* (last fallback)

## minimax URL normalize (BS-新61)
- minimax baseUrl 末尾带 / (如 https://token-plan-cn.xiaomimimo.com/v1/)
- 去掉末尾 / 避免 /v1//chat/completions 双斜杠返 301
- 已修复

## 协议
- OpenAI 兼容 chat/completions (minimax/Anthropic/OpenAI/DeepSeek 都支持)
- Anthropic 兼容是独立协议, 不混用

## 编译
- mvn compile -pl ssw-common/ssw-common-biz -am → BUILD SUCCESS (4.212s)
- Java 8 only (无 Map.of, 用 HashMap)

## 相关
- base_ai 表已切: minimaxi enabled=1, DeepSeek enabled=0
- dacli 0 错误读 minimax (DB 走通)
2026-07-06 21:22:27 +08:00
S
Description
boot业务模块
379 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 100%