Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]希望支持 Cloudflare AI gateway #1321

Open
zhou20120904 opened this issue Apr 29, 2024 · 0 comments
Open

[Feature]希望支持 Cloudflare AI gateway #1321

zhou20120904 opened this issue Apr 29, 2024 · 0 comments

Comments

@zhou20120904
Copy link

问题描述
如题,有过同样的issue,没有被重视
使用 Cloudflare AI gateway 建立 endpoint 后,在 chatbox 的设置画面设定到 API 域名后,使用报错了。
错误的内容是chatbox拼接网址中出现了两个v1,Cloudflare AI gateway 建立 endpoint被调用时自己会加一个v1,而您的代码 src/packages/llm.ts 中也会拼入一个v1。
接口调用可查阅https://developers.cloudflare.com/ai-gateway/providers/openai/

解决思路
希望能将 /v1/chat/completions 这部分也可以使用设置画面进行设置。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant