OpenAI-Parallel-Toolkit icon indicating copy to clipboard operation
OpenAI-Parallel-Toolkit copied to clipboard

Hello how to fix this error

Open zing75blog opened this issue 2 years ago • 2 comments

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?

zing75blog avatar Sep 06 '23 10:09 zing75blog

Did you modify the code, I did not write the serialization of OpenAIModel

CZT0 avatar Sep 06 '23 10:09 CZT0

Im having the same error

Aplex2723 avatar Oct 05 '23 16:10 Aplex2723