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 output of `python collect_env.py`
I encountered an error with the OpenAI server:
[openai_api_compatible] Error: API request failed with status code 400: {"object":"error","message":"{'type': 'string_type', 'loc': ('body', 'messages', 2, 'function_call'), 'msg': 'Input should be a valid string', 'input': {'name': 'function call', 'arguments': '{}'}, 'url': '[https://errors.pydantic.dev/2.6/v/string_type'}]","type":"BadRequestError","param":null,"code":400}
The text was updated successfully, but these errors were encountered:
After thorough investigation of the code, I suspect the issue may lie in the formatting of the 'message'.
Sorry, something went wrong.
Should be resolved by #3467
Successfully merging a pull request may close this issue.
Your current environment
🐛 Describe the bug
I encountered an error with the OpenAI server:
[openai_api_compatible] Error: API request failed with status code 400: {"object":"error","message":"{'type': 'string_type', 'loc': ('body', 'messages', 2, 'function_call'), 'msg': 'Input should be a valid string', 'input': {'name': 'function call', 'arguments': '{}'}, 'url': '[https://errors.pydantic.dev/2.6/v/string_type'}]","type":"BadRequestError","param":null,"code":400}
The text was updated successfully, but these errors were encountered: