Skip to content

Commit 34ef7ac

Browse files
authored
Google Gemini - bug fix (#16229)
* bug fix * pnpm-lock.yaml
1 parent 95393b8 commit 34ef7ac

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

components/google_gemini/actions/common/generate-content.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
}) => ![
1616
"discontinued",
1717
"deprecated",
18-
].some((keyword) => description.includes(keyword))
18+
].some((keyword) => description?.includes(keyword))
1919
&& supportedGenerationMethods?.includes(constants.MODEL_METHODS.GENERATE_CONTENT),
2020
}),
2121
],

components/google_gemini/actions/generate-content-from-text-and-image/generate-content-from-text-and-image.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
key: "google_gemini-generate-content-from-text-and-image",
99
name: "Generate Content from Text and Image",
1010
description: "Generates content from both text and image input using the Gemini API. [See the documentation](https://ai.google.dev/tutorials/rest_quickstart#text-and-image_input)",
11-
version: "0.1.1",
11+
version: "0.1.2",
1212
type: "action",
1313
props: {
1414
...common.props,

components/google_gemini/actions/generate-content-from-text/generate-content-from-text.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "google_gemini-generate-content-from-text",
77
name: "Generate Content from Text",
88
description: "Generates content from text input using the Google Gemini API. [See the documentation](https://ai.google.dev/tutorials/rest_quickstart#text-only_input)",
9-
version: "0.1.1",
9+
version: "0.1.2",
1010
type: "action",
1111
props: {
1212
...common.props,

components/google_gemini/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/google_gemini",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "Pipedream Google Gemini Components",
55
"main": "google_gemini.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)