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
Compatibility with chat UIs (BetterChatGPT) #3
Comments
Okay that means that CORS is definitely the issue. That's definitely a bug, I'll see what I can do. |
Can you try deploying with the branch |
I tried deploying it but there are some build errors:
|
Sorry about that! Forgot to update |
It builds successfully now, but now it returns 500:
This is the request body:
Is there anything I should remove/add from/to the request body? |
No that was my bad again, fixed with the latest commit. If you're curious as to what I screwed up it was this: 6cb8425. |
It works fine now, I get a response, but BetterChatGPT currently fails to display it. Response:
I'll see if I can fix it from BetterChatGPT's source or open an issue on their repo. Feel free to close this. |
I think BetterChatGPT only accepts streaming responses so since Cloudflare's isn't it's not processing it at all. |
Streaming responses are on my list of todos but I have no ETA.
…On Tue, Mar 26, 2024 at 1:21 PM Chitu Dorin ***@***.***> wrote:
I think BetterChatGPT only accepts streaming responses
<ztjhz/BetterChatGPT#290 (comment)>
so since Cloudflare's isn't it's not processing it at all.
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA23YLRUL6NDV3LD4UJZ6XLY2GN7VAVCNFSM6AAAAABFGSHOBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRRGA2DCMZWGQ>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
@chitudorin quick update on this, as of PR #5, streaming is now supported on the main branch. |
@chand1012 I randomly checked the repo like 10 hours ago and saw the PR. Tested it then and confirmed it works, nice! |
I succesfully deployed the worker and confirmed it does work with OpenAI's API reference examples but running a fork of BetterChatGPT (in order to permit newer models) does not work.
Running log stream on my worker returns a 404 error and it looks like the request is an OPTIONS one, instead of GET.
The text was updated successfully, but these errors were encountered: