APIpie
在 LibreChat 中将 APIpie 配置为自定义 endpoint。
APIpie 是一个聚合器,通过单一的 OpenAI 兼容 endpoint 提供来自多个提供商的模型。
获取 API key
从 apipie.ai/dashboard/profile/api-keys 创建一个密钥并将其添加到您的 .env 文件中:
配置
在你的 librechat.yaml 中,将 endpoint 添加到 endpoints.custom 下:
注意事项
- 不支持自动获取模型,因此
fetch被设置为false,模型列表需内联定义。当添加新模型时,请使用上述脚本重新生成列表。 - 对话标题的生成结果可能不一致。
dropParams: ["stream"]会移除stream参数,该参数目前不受支持。
这篇指南怎么样?