diff --git a/BotNet.Services/Gemini/GeminiClient.cs b/BotNet.Services/Gemini/GeminiClient.cs index 161466b..ad22632 100644 --- a/BotNet.Services/Gemini/GeminiClient.cs +++ b/BotNet.Services/Gemini/GeminiClient.cs @@ -15,7 +15,7 @@ public class GeminiClient( IOptions geminiOptionsAccessor, ILogger logger ) { - private const string BASE_URL = "https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent"; + private const string BASE_URL = "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent"; private readonly HttpClient _httpClient = httpClient; private readonly string _apiKey = geminiOptionsAccessor.Value.ApiKey!; private readonly ILogger _logger = logger;