llm · 2026-09-11
对话 / 写作
OpenAI POST /v1/chat/completions。公网 https://ttkk.inping.com/v1。完整逻辑 版本记录。2026-09-11:裸 27b/35b 零注入,与产品名 / 领域别名分开。
| model | 注入 | 怎么选 |
|---|---|---|
clavue-2.1 | 有 mill | 写代码 / Agent |
qwen3.8:27b | 无 | 作词 / brief · 自带 system |
clavue-2.1-fast | 有 mill | 产品内容引擎 |
qwen3.6:35b-a3b | 无 | 作词 / caption · 自带 system |
clavue-3-seo 等 | 有领域提示词 | 别名手册 |
clavue-3-novel | 无 | 小说,写手 system 自带 |
lingsi1.0 / auto | auto 短→35b 长→27b | 面板默认;产品请写死名字 |
怎么调
# 写代码(要 mill 人设)
curl -sS http://192.168.2.100:11401/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model":"clavue-2.1","messages":[{"role":"user","content":"写一个去重保序函数"}],"max_tokens":2048}'
# 作词(裸 35b + 自己的 system)
curl -sS http://192.168.2.100:11401/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model":"qwen3.6:35b-a3b","messages":[{"role":"system","content":"你是这首歌的作词家。只输出歌词。"},{"role":"user","content":"四句副歌,雨夜码头"}],"max_tokens":2048}'
# SEO(领域别名)
curl -sS https://ttkk.inping.com/v1/chat/completions \
-H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' \
-d '{"model":"clavue-3-seo","messages":[{"role":"user","content":"夏天防晒霜 SEO 标题"}],"max_tokens":4096}'
- 流式:
stream: true(27b / 35b 支持)。 - 上下文:27b 单请求上限 128K。2026-09-10 试过开到 256K(
max-model-len 262144),当天回滚,仍然是 128K;服务端记录。 - 超时:短轮 60 s,长文 ≥ 180 s。
- 系统人设用
messages[0].role=system。裸引擎不会再叠 mill;产品名 / 领域别名仍会合成。不要往 TTS 的instructions里塞对话提示。
问「你是什么模型」时,网关会把小模型答成「灵思1.0」。产品文案以 clavue-2.1 对外即可。