Upgrade gemini model to 2.5-flash
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user