We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
视频中是借助【快捷指令】实现的,快捷指令地址:https://www.icloud.com/shortcuts/ab376156b0384382815ae5f553cad8a4
Sorry, something went wrong.
api.openai.com 已经被GFW关照了,我是通过 Cloudflare Workers + Workers Routes 实现的,workers 负责 proxy,由于 workers.dev 也被GFW关照,所以我通过 Workers Routes 映射到 worker,worker 代码非常简单,就几行:
export default { async fetch(request) { return fetch(new Request(`https://api.openai.com${new URL(request.url).pathname}`, { headers: request.headers, method: request.method, body: request.body })); }, };
可不可以教教我
快捷指令是可以看到如何设置的,官方的API也非常简单 https://platform.openai.com/docs/api-reference/chat
No branches or pull requests
output.mp4
The text was updated successfully, but these errors were encountered: