Hello,
I completed the Graded Lab in Module 2 for Reflection Design Pattern.
I receive the following after submission:
"Failed test case: reflect_on_draft raised LLMError: An error occurred: Error code: 400 - {‘error’: {‘message’: “Invalid value for ‘content’: expected a string, got null.”, ‘type’: ‘invalid_request_error’, ‘param’: ‘messages.[0].content’, ‘code’: None}}.
Expected:
no exception,
but got:
An error occurred: Error code: 400 - {‘error’: {‘message’: “Invalid value for ‘content’: expected a string, got null.”, ‘type’: ‘invalid_request_error’, ‘param’: ‘messages.[0].content’, ‘code’: None}}. "
I cannot modify the test case code, to pass an argument to the function. How do I add the required argument to the function call in the unit test case code.
Note: When I run the unit test case line by itself, the test passes, but then when I submit the whole assignment, I receive this error.
Please advise.