UnityChatGPT icon indicating copy to clipboard operation
UnityChatGPT copied to clipboard

Error message: Additional properties are not allowed ('Content', 'Role' were unexpected) - 'messages.0'",

Open enaraartetxe opened this issue 2 years ago • 0 comments

First time playing the project got a null pointer exception error in the chatGPTResponse. Tracking it down, the answer coming from ChatGPT inside ChatGPTClient.cs --> responseInfo was the error above. Apparently ChatGPT needs those two parameteres to be lowercase. Changed them in ChatGPTChatMessage.cs and got the demo running :)

enaraartetxe avatar Mar 28 '23 16:03 enaraartetxe