#C# Class dont connect to the api
10 messages · Page 1 of 1 (latest)
You may only check the method AskChatGPT and the class ChatClient
I have entered my api key, obviously im not going to share it, it is not that error
It would help if we knew what error you were receiving.
This line shows on console return "Failed to get a valid response from the ChatGPT service.";
Okay, but you need to be logging the actual response, not just returning a generic error statement
Generic error statements are great for consumers but you're a developer I assume. It's important to know what the response is.