Hello how to fix this error
when I run the function I get an error like this?
2023-09-06 17:08:26,376 - ERROR - Unknown error occurred while accessing OpenAI API: Object of type OpenAIModel is not JSON serializable. Retry attempt 1 of 5 2023-09-06 17:08:26,376 - ERROR - Unknown error occurred while accessing OpenAI API: Object of type OpenAIModel is not JSON serializable. Retry attempt 2 of 5 2023-09-06 17:08:26,376 - ERROR - Unknown error occurred while accessing OpenAI API: Object of type OpenAIModel is not JSON serializable. Retry attempt 3 of 5 2023-09-06 17:08:26,377 - ERROR - Unknown error occurred while accessing OpenAI API: Object of type OpenAIModel is not JSON serializable. Retry attempt 4 of 5 2023-09-06 17:08:26,377 - ERROR - Unknown error occurred while accessing OpenAI API: Object of type OpenAIModel is not JSON serializable. Retry attempt 5 of 5
how to fix that?
Did you modify the code, I did not write the serialization of OpenAIModel
Im having the same error