Open bruffridge opened 4 days ago
I think the error is because deep-chat is sending a message object that contains an empty string to openai which openai gives an error for. Can probably get this error to go away, by not sending a message object at all if it is blank, and just send the file object.
You might be able to perform this removal of the empty message object in the requestIntercepter function. I think that function gets called before a request gets sent by deep-chat to openai.
Currently if you try to upload a file with an empty message you get an error.