




















Hugging Face – The AI community building the future. 获取 HF_TOKEN 在 opencode 中使用,只需在 `opencode.json` 的 `provider` 中添加: "huggingface": { "npm": "@ai-sdk/openai-compatible", "name": "HuggingFace", "options": { "baseURL": "https://router.huggingface.co/v1", "apiKey": "HF_TOKEN" }, "models": { "zai-org/GLM-5.2": { "name": "GLM-5.2" }, "zai-org/GLM-5.2-FP8": { "name": "GLM-5.2-FP8" } } } 然后"model": “huggingface/zai-org/GLM-5.2” 即可。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。