My unit test cases are all passed however assignment submission is failing with below error
Failed test case: generate_research_report_with_tools raised BadRequestError: Error code: 400 - {‘error’: {‘message’: ‘you must provide a model parameter’, ‘type’: ‘invalid_request_error’, ‘param’: None, ‘code’: None}}. Expected: no exception, but got: Error code: 400 - {‘error’: {‘message’: ‘you must provide a model parameter’, ‘type’: ‘invalid_request_error’, ‘param’: None, ‘code’: None}}.
The test cases used when you submit a notebook are different from the unit test cases. So passing the unit test cases does not assure passing the submission test cases.
The error messsage points to a missing model parameter. See if you can find where a model parameter may be missing in your code.
Good luck!
Hi @reinoudbosch : I have passed the model parameter at the correct place in the Chatcompletion call however still this error is coming up. Please guide as i am unable to resolve this