var providerName = LLmProviders.Google;
var provider = new ProviderAuthentication(providerName, cfg.APIKey);
var api =new TornadoApi(provider);
//ChatModel model = "gemini-3-pro-image-preview"; //works fine
ChatModel model = "gemini-3-image-pro-preview"; //model is wrong,
When requesting a response, will be an error "api key is incorrect, check on open ai website to find your key". Was pulling my hair out as the key was correct, before realised the model was wrong (testing customers input data).
Would have been really helpful if errored early with "model does not exist" or something indicating used a fallback as failed to map the model....
Anyway, great library, fantastic piece of work, many thanks for it
When requesting a response, will be an error "api key is incorrect, check on open ai website to find your key". Was pulling my hair out as the key was correct, before realised the model was wrong (testing customers input data).
Would have been really helpful if errored early with "model does not exist" or something indicating used a fallback as failed to map the model....
Anyway, great library, fantastic piece of work, many thanks for it