music(inspire): 加「💡 今天练什么」灵感推荐 modal
deploy music / build-and-deploy (push) Failing after 1m50s

- 后端 POST /api/inspire 流式 SSE:随机 keyword 池(23 个)+ 用户曲库画像(recent/top/least)+ Tavily 热点搜索 → gemma stream(temperature=1.0)
- Tavily key 走 k8s Secret tavily-creds(复用 mochi config 同一 token)
- 每次按按钮:keyword 随机 + 用户可输 hint("想练快歌" / "陪儿子" / "新东西")
- 输出强制格式:4 首歌('补回来' 2 + '试试新' 2),每首歌名-歌手 + 一句理由
- 前端 topbar 加 💡 按钮,modal 流式渲染(极简 md:**bold** + 列表)
This commit is contained in:
Fam Zheng
2026-05-10 15:52:00 +01:00
parent f7fac352a5
commit ccb5ad05ce
4 changed files with 512 additions and 0 deletions
+5
View File
@@ -62,6 +62,11 @@ spec:
secretKeyRef:
name: chat-creds
key: token
- name: TAVILY_TOKEN
valueFrom:
secretKeyRef:
name: tavily-creds
key: token
readinessProbe:
httpGet:
path: /healthz