PR: https://github.com/jackMort/ChatGPT.nvim/pull/305 fixed the curl error by calling the callback function for all config loads. However, there was one call which doesn't pass a callback (and one where a callback isn't defined) and since the callback would be nil, the module init fails.
The fix is to appropriate call the callback when specified
I tested these changes by connected to a Azure hosted gpt model and the chat functionality is working
PR: https://github.com/jackMort/ChatGPT.nvim/pull/305 fixed the curl error by calling the callback function for all config loads. However, there was one call which doesn't pass a callback (and one where a callback isn't defined) and since the callback would be nil, the module init fails.
The fix is to appropriate call the callback when specified
I tested these changes by connected to a Azure hosted gpt model and the chat functionality is working