-
Notifications
You must be signed in to change notification settings - Fork 102
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
Control Escape characters cause a 400 Bad Request #141
Comments
Thanks for flagging this, this is a known issue which will be addressed in the beta release. In the meantime, you can pass |
Looks like workaround using
|
@dipeshdulal "Hello\x1BWorld" isn't valid JSON, you need to
Result:
|
Fixed in 0.1.0-alpha.51 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Control escape characters (like u+001b) sent in the request cause a 400 bad request error.
This is handled gracefully on the sashabaranov/go-openai library
Thanks!
The text was updated successfully, but these errors were encountered: