Update main.ts
Browse files
main.ts
CHANGED
|
@@ -102,6 +102,15 @@ class GoogleAIService {
|
|
| 102 |
"description": "Gemini 2.5 Pro with GoogleSearch",
|
| 103 |
"maxTokens": 1048576
|
| 104 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
console.log(`Fetched ${this.cachedModels.length} models from Google AI`);
|
| 106 |
return this.cachedModels;
|
| 107 |
}
|
|
|
|
| 102 |
"description": "Gemini 2.5 Pro with GoogleSearch",
|
| 103 |
"maxTokens": 1048576
|
| 104 |
})
|
| 105 |
+
this.cachedModels.push({
|
| 106 |
+
"id": "gemini-3-flash-preview-search",
|
| 107 |
+
"name": "gemini-3-flash-preview-search",
|
| 108 |
+
"object": "model",
|
| 109 |
+
"created": now,
|
| 110 |
+
"owned_by": "google",
|
| 111 |
+
"description": "Gemini 3 Flash Preview with GoogleSearch",
|
| 112 |
+
"maxTokens": 1048576
|
| 113 |
+
})
|
| 114 |
console.log(`Fetched ${this.cachedModels.length} models from Google AI`);
|
| 115 |
return this.cachedModels;
|
| 116 |
}
|