adm9856anyrouter 成功接入 openclaw 中发帖

搜了一圈没发现教程,总结了一个可以直接发送给 openclaw 的版本。直接把下面这一段发送给 openclaw 就配置成功了,记得换成自己的密钥。 
我的 Anyrouter 的密钥是 sk-xxx,在配置中添加 Anyrouter 提供商和模型。
连通性测试:先访问 https://anyrouter.top/v1/models,如果获得 json 返回则说明网络联通,使用 https://anyrouter.top 作为 baseUrl;否则使用中国大陆的镜像地址 https://a-ocnfniawgw.cn-shanghai.fcapp.run 作为 baseUrl。
在 ~/.openclaw/openclaw.json 中添加如下配置:
{
"models": {
"providers": {
"anyrouter": {
"ba...