Skip to content

Commit 03cd23a

Browse files
authored
feat(firestore-translate-text): add Gemini 2.5 Flash Lite (#2496)
* feat(firestore-translate-text): add Gemini 2.5 Flash Lite * chore: update changelog and extension.yaml * chore: format
1 parent 4367197 commit 03cd23a

File tree

4 files changed

+39
-30
lines changed

4 files changed

+39
-30
lines changed

firestore-translate-text/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Version 0.1.25
2+
3+
feat - add Gemini 2.5 Flash Lite
4+
15
## Version 0.1.24
26

37
feat - update to allow using Gemini models from Google AI or Vertex AI

firestore-translate-text/extension.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
name: firestore-translate-text
16-
version: 0.1.24
16+
version: 0.1.25
1717
specVersion: v1beta
1818

1919
tags: [ai]
@@ -163,11 +163,16 @@ params:
163163
type: select
164164
required: false
165165
options:
166-
- label: Gemini 2.5 Pro (highest quality, expensive)
166+
- label:
167+
Gemini 2.5 Pro (highest quality, expensive, large max output size)
167168
value: gemini-2.5-pro
168-
- label: Gemini 2.5 Flash (cost-effective, high quality)
169+
- label:
170+
Gemini 2.5 Flash (cost-effective, high quality, large max output size)
169171
value: gemini-2.5-flash
170-
- label: Gemini 2.0 Flash (cost-effective, good quality)
172+
- label:
173+
Gemini 2.5 Flash Lite (cheap, good quality, large max output size)
174+
value: gemini-2.5-flash-lite
175+
- label: Gemini 2.0 Flash (cheap, good quality)
171176
value: gemini-2.0-flash
172177
- label: Gemini 2.0 Flash Lite (cheapest, lowest quality)
173178
value: gemini-2.0-flash-lite

firestore-translate-text/functions/package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

firestore-translate-text/functions/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
"generate-readme": "firebase ext:info .. --markdown > ../README.md"
1313
},
1414
"dependencies": {
15-
"@genkit-ai/googleai": "^1.14.1",
16-
"@genkit-ai/vertexai": "^1.14.1",
15+
"@genkit-ai/googleai": "^1.15.5",
16+
"@genkit-ai/vertexai": "^1.15.5",
1717
"@google-cloud/translate": "^8.2.0",
1818
"@google-cloud/vertexai": "^1.9.2",
1919
"@types/express-serve-static-core": "4.19.0",
2020
"@types/node": "^20.10.3",
2121
"firebase-admin": "^12.1.0",
2222
"firebase-functions": "^4.9.0",
23-
"genkit": "^1.14.1",
23+
"genkit": "^1.15.5",
2424
"rimraf": "^2.6.3",
2525
"typescript": "^4.8.4"
2626
},

0 commit comments

Comments
 (0)