需要加上:OpenAI-Beta: assistants=v1'
wsdo opened this issue · 1 comments
初始检查
- 我运行的
openai-forward
版本不低于v0.6.0
问题描述
BadRequestError: Error code: 400 - {'error': {'message': "You must provide the 'OpenAI-Beta' header to access the Assistants API. Please try again by setting the header 'OpenAI-Beta: assistants=v1'.", 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_beta'}}
配置/代码示例和输出
BadRequestError: Error code: 400 - {'error': {'message': "You must provide the 'OpenAI-Beta' header to access the Assistants API. Please try again by setting the header 'OpenAI-Beta: assistants=v1'.", 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_beta'}}
我的见解
No response
环境
BadRequestError: Error code: 400 - {'error': {'message': "You must provide the 'OpenAI-Beta' header to access the Assistants API. Please try again by setting the header 'OpenAI-Beta: assistants=v1'.", 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_beta'}}
最后一步
- 我认为上述的描述已经足够详细,开发者能够复现该问题
Bot detected the issue body's language is not English, translate it automatically.
Title: Need to add: OpenAI-Beta: assistants=v1'