Open cpacker opened 8 months ago
Tagging @ndisalvio03 for visibility
I get these in the preview, too. Again this is PREVIEW, not ready for production use.
I tried running gpt-4-turbo with the tool calling spec instead, but am still running into the same 500 errors:
error = 500 Server Error: Internal Server Error for url: https://api.openai.com/v1/chat/completions
HTTPError occured, but unknown error message: {'message': 'The server had an error processing your request. Sorry about that! You can retry your request, or contact us
through our help center at help.openai.com if you keep seeing this error. (Please include the request ID ... in your email.)', 'type':
'server_error', 'param': None, 'code': None}
step() failed with an unrecognized exception: '500 Server Error: Internal Server Error for url: https://api.openai.com/v1/chat/completions'
So it doesn't seem to be related to PR #619. Maybe there are other parameters that could be passed to the call that might help? Eg seed?
Could potentially be resolved using the new JSON mode: https://platform.openai.com/docs/guides/text-generation/json-mode
Describe the bug
Using
gpt-4-1106-preview
(gpt-4-turbo) seems to produce an unusually high amount of 500 errors. The discrepancy in error rate may be related to how we're calling the API (possibly due to using deprecated functions kwargs?).Example: