olrea / openai-cpp

OpenAI C++ is a community-maintained library for the Open AI API
https://openai.com/api/
MIT License
183 stars 65 forks source link

exemples crash on windows 10 visual studio 2020 c++20 #24

Closed Neosettler closed 1 year ago

Neosettler commented 1 year ago

Hi,

running the examples spits out a json error. It seems like the json is malformed or something around those lines.

using curl 7.68 because 7.48 did not want to compile.

Any hint?

thank you,

Neosettler commented 1 year ago

forgot the api key, works fine now but it shouldn't crash nonetheless.