superwhys

Results comments of superwhys

cc-switch 里面的的路由(代理)模式工作原理是怎么样子的? 我其实有两个疑问: 1. 开启了路由功能并启用了 claude 之后,它是如何找到需要转发出去的供应商的? 2. 开启了路由功能并启用了 claude 之后,为什么还要在 claude 的供应商里添加一个 127.0.0.1:15721/v1 这个的配置? 它开启了之后会在本地监听了 15721 端口,然后路由启用选择了 `claude`(此时cc-switch 会将 claude 的配置 ANTHROPIC_BASE_URL 改为 `http://127.0.0.1:15721` ) 然后又把本地的这个监听地址 127.0.0.1:15721/v1 配置回到 claude-code...

@negadive Thank for the res, thats how i solved this problem. but i thought there was a better way to solve it.

At first I thought the time was too short and it didn't sync up, but after I tried to wait for a few days, it still couldn't query