Upgrade gemini model to 2.5-flash

This commit is contained in:
scawful
2025-10-03 01:34:11 -04:00
parent ead4abbf33
commit ba12075ca9
14 changed files with 991 additions and 34 deletions

View File

@@ -76,7 +76,7 @@ absl::Status GeminiAIService::CheckAvailability() {
if (res->status == 404) {
return absl::NotFoundError(
absl::StrCat("❌ Model '", config_.model, "' not found\n",
" Try: gemini-1.5-flash or gemini-1.5-pro"));
" Try: gemini-2.5-flash or gemini-1.5-pro"));
}
if (res->status != 200) {

View File

@@ -14,7 +14,7 @@ namespace cli {
struct GeminiConfig {
std::string api_key;
std::string model = "gemini-1.5-flash"; // Default to flash model
std::string model = "gemini-2.5-flash"; // Default to flash model
float temperature = 0.7f;
int max_output_tokens = 2048;
std::string system_instruction;