今天在闲鱼买了一个密钥,用于小龙虾配置,折腾2个小时,配置成功,记录一下,免得忘记了。
(1)、修改我的小龙虾配置文件openclaw.json,把以下内容粘贴进去。我是直接复制替换了。大家只需要把里面的apiKey换为你的,sk开头的。比如我的就是下面sk的那个
{
"models": {
"mode": "merge",
"providers": {
"jusuanxing": {
"baseUrl": "https://newapi.epsq.cn/v1",
"apiKey": "sk-qSABSpgmIPyXkDtSy4qldqX4etYwm9R5frw45JNLCkg6WHuJRY",
"api": "openai-completions",
"models": [
{
"id": "qwen3.5-plus",
"name": "qwen3.5-plus",
"reasoning": false,
"input": ["text", "image"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 1000000,
"maxTokens": 65536,
"compat": {
"thinkingFormat": "qwen"
}
},
{
"id": "MiniMax-M2.5",
"name": "MiniMax-M2.5",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 196608,
"maxTokens": 32768
},
{
"id": "glm-5",
"name": "glm-5",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 202752,
"maxTokens": 16384,
"compat": {
"thinkingFormat": "qwen"
}
},
{
"id": "kimi-k2.5",
"name": "kimi-k2.5",
"reasoning": false,
"input": ["text", "image"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 262144,
"maxTokens": 32768,
"compat": {
"thinkingFormat": "qwen"
}
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": " jusuanxing/MiniMax-M2.5"
},
"models": {
" jusuanxing/qwen3.5-plus": {},
" jusuanxing/MiniMax-M2.5": {},
" jusuanxing/glm-5": {},
" jusuanxing/kimi-k2.5": {}
}
}
},
"gateway": {
"mode": "local"
}}(2)、保存成功,执行命令重启网关。
openclaw gateway restart
再进去的时候就能和龙虾聊天了
1.全局用户信息设置 git config --global user.name gaojiufeng git config --global user.email 392223903...
在安装之前我们先看看官方给出的依赖关系.首先是dll文件和mongodb软件的依赖关系然后是PHP文件和dll的依赖关系我的是phpstudy的集成环境PHP5.4.45 NTS+Apache+Mysql【一】.安装mongodb3.0软件对比依赖关系下载mongodb3.0.msi软件,完整名称:...
git pull https://git.oschina.net/392223903/learn.git master 换为您的git地址...
日志查看:git log版本切换:方式1:git reset --hard HEAD^ 倒退一个版本git reset --hard HEAD^^ 倒退两个版本方式2:(版本号的形式,建议版本号码补充完...
public static string GetMD5(string str) { //创建MD5对象 MD5 md5 = MD5.C...
private const string fantizi = "高久峰是個程序員"; private const string jiantizi = "高久峰是个程序员...