pedrojlazevedo / twitch-chatgpt

ChatGPT Implementation for Twitch Streamers
67 stars 1.69k forks source link

not english characters #9

Closed Justinardo closed 1 year ago

Justinardo commented 1 year ago

it gives "Remote Server Returned Code 400" when the prompt contains not english characters.

pedrojlazevedo commented 1 year ago

Hello.

Can you provide the cyclic error log?

Thank you.

Justinardo commented 1 year ago

Hello.

It doesn't seem to even generate an error log. But here's an example: image

pedrojlazevedo commented 1 year ago

In cyclic, after making a prompt, you can see a log file of the request you made. image

Can you copy in a file or the end of the log (it should be a really long one :'))

Justinardo commented 1 year ago

Here's the log of a successfull one. As i said, when you get the error, there is no logs created in cyclic. log.txt

pedrojlazevedo commented 1 year ago

Can you provide a log of a failing one?

Justinardo commented 1 year ago

No, i can't because it doesn't generate a log I made a video demonstration here: https://streamable.com/3lzxk6

pedrojlazevedo commented 1 year ago

Perfect. Thank you so much for the debugging process!

Can you try with: !editcom !bot $(urlfetch https://your-cyclic-url.app/gpt/"$(user):$(querystring)")

The one you used was this, right? $(urlfetch https://your-cyclic-url.app/gpt/"$(user):$(query)")

Justinardo commented 1 year ago

Oh yes thanks! It worked ;)

pedrojlazevedo commented 1 year ago

Excellent!!

I will update the repo. Thank you so much :)

P.S: Closing the issue.