After I completed the graded assignment, I ran the code on the left side and LLM showed the results properly like initial draft, reflection and regenerate and all of it looks good.
After I submit, its complaining on all the exercises. For the draft essay it says content is null. Is something wrong in grader?
Error:
Exercise 1
0/10
Failed test case: generate_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}}.
