72 (@ageovb) 在 【72 的开发工具 003】CLIProxyAPI 代理公益站 API 提供统一地址和 key 中发帖
1、安装 CLIProxyAPI
根据上面网址进行安装
3、重命名配置文件
将安装目录下默认的 config.example.yaml 修改为 config.yaml
3、配置 Web UI
下载 management.html,放置在安装目录下
4、配置公益站 API
浏览器输入 http://localhost:8317/management.html#/ai-providers
添加公益站(使用 OpenAI 兼容提供商):
[添加 OpenAI 兼容提供商]
配置公益站的 key 和模型:
[key 和模型]
5、设置客户端连接 CLIProxyAPI 使用的 key
[key]
6、客户端连接 CLIProxyAPI
baseURL:http://127.0.0.1:8317/v1
apiKey:test
示例如下:
[Kelivo]