Open WyInnovate opened 9 months ago
按官方文档说明,你只需要把 baseURL 设置为 "https://gateway.ai.cloudflare.com/v1/ACCOUNT_TAG/GATEWAY/openai" 应该就能用了吧?
按官方文档说明,你只需要把 baseURL 设置为 "gateway.ai.cloudflare.com/v1/ACCOUNT_TAG/GATEWAY/openai" 应该就能用了吧?
我的baseURL是:https://gateway.ai.cloudflare.com/v1/XXX/XXX/openai
错误:[404]:Error: [404]: { "error": { "message": "Invalid URL (POST /v1/v1/chat/completions)", "type": "invalid_request_error", "param": null, "code": null } }
Endpoint
v1/chat/completions
Endpoint
chat/completions
Easy大佬,能否增加对CloudFlare AI Gateway的支持,CloudFlare AI Gateway能实现缓存结果、日志记录、自动统计token消耗 官方文档如下:https://developers.cloudflare.com/ai-gateway/