You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 week ago | |
|---|---|---|
| .. | ||
| README.md | 1 week ago | |
| llm_client.js | 1 week ago | |
README.md
Skills 共享模块
供各 Skill 复用的公共代码。
llm_client.js
OpenClaw 与 OneAPI 网关对接的共享 LLM 客户端:按模型名调用 OpenAI 兼容的 Chat Completions API。
- 环境变量:
LLM_BASE_URL、LLM_API_KEY - 导出:
callSpecificModel(modelName, messages, options)(不支持 stream,支持timeoutMs) - 错误与日志:非 200 与超时时会打印
[LLM_Client] Error calling <model>:并抛出带详情的 Error