Files
slogan/config.yml
T
adminandClaude Opus 4.7 ef22f7672a feat: slogan-agent MVP 服务端完整实现
- 用户域:注册/登录(JWT)/修改密码/个人资料
- 照片/衣橱/身形/化身:上传存储 + 3D 化身模板匹配
- 穿搭生成:天气(高德+和风+缓存) → 规则预筛 → LLM 规划(1次调用)
  → 规则评分(5维100分制) → 全低分触发 LLM 兜底创作 → 异步任务状态机
- 效果图:选主方案后异步生成 3 视角(mock/wanx 供应商 + 内容 hash 缓存 + 每日限额)
- 商业化:合作门店列表(seed 4 家)
- 冒烟:全链路端到端验证通过(mock LLM/天气),23 个 API 端点

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-31 12:15:11 +08:00

41 lines
822 B
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.
database:
default:
name: slogan.db
type: sqlite
debug: false
cache:
ttl: 60
server:
address: :3007
name: slogan
workerId: 1
clientMaxBodySize: 209715200
requestTimeout: 3000
chat:
timeout: 300
max_retries: 3
# 和风天气 API Key(v7,免费版)
weather:
qweather_key: ""
qweather_base: "https://devapi.qweather.com"
# 高德地理编码 Key
geo:
amap_key: ""
amap_base: "https://restapi.amap.com"
# 图像生成供应商配置(空则使用 mock)
imagegen:
supplier: "mock" # mock | wanx
wanx_api_key: ""
wanx_model: "wanx-v2"
# 大模型配置(OpenAI 兼容,如通义/DeepSeek/Kimi
llm:
base_url: "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions"
api_key: ""
model_name: "qwen-plus"
max_tokens: 4096
temperature: 0.8