ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

cline 使用 cline-free/glm-5.2 或 deepseek/deepseek-v4-flash

2026/8/4 8:26:47 拓冰建站 浏览量
cline 使用 cline-free/glm-5.2 或  deepseek/deepseek-v4-flash

npm i -g cline --registry https://registry.npmjs.org

出现如下错误
Error: cline-pass requires re-authentication.
则可以
cline auth 重新认证一下

curl -s https://api.cline.bot/api/v1/ai/cline/recommended-models|jq '.free[].id'
"deepseek/deepseek-v4-flash"
"cline-free/glm-5.2"
"poolside/laguna-s-2.1:free"
"stepfun/step-3.7-flash"

curl -X POST https://api.cline.bot/api/v1/chat/completions \-H "Authorization: Bearer <your_api_key>" \-H "Content-Type: application/json" \-H "x-client-type: cline-cli" \-d '{"model": "cline-free/glm-5.2","messages": [{"role": "user", "content": "write a story about function."}],"stream": true}'

参考:
白嫖Cline的GLM5.2模型的超简单教程(ccswitch+codex使用)