Skip to content

Commit f1112fd

Browse files
committed
fix: Update Gemini model to non-preview version
The default Gemini model was updated from a preview version to the stable `gemini-2.5-flash-lite`. This change was applied across Tekton pipeline configurations and documentation for issue creation, Jira integration, and PR CI. Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
1 parent f8992de commit f1112fd

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.tekton/issue-create.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- name: repo_name
2222
value: "{{repo_name}}"
2323
- name: gemini_model
24-
value: "gemini-2.5-flash-lite-preview-06-17"
24+
value: "gemini-2.5-flash-lite"
2525
pipelineSpec:
2626
params:
2727
- name: repo_url

.tekton/jira.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- name: repo_name
2222
value: "{{repo_name}}"
2323
- name: gemini_model
24-
value: "gemini-2.5-flash-lite-preview-06-17"
24+
value: "gemini-2.5-flash-lite"
2525
- name: jira_endpoint
2626
value: "https://issues.redhat.com"
2727
- name: jira_project

.tekton/pr-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
- name: repo_name
2929
value: "{{repo_name}}"
3030
- name: gemini_model
31-
value: "gemini-2.5-flash-lite-preview-06-17"
31+
value: "gemini-2.5-flash-lite"
3232
- name: excluded_labels
3333
value: "good-first-issue,help-wanted,wontfix,hack"
3434
- name: max_labels

hack/pr-ci/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The following environment variables are required:
6161

6262
#### Optional
6363

64-
- `GEMINI_MODEL`: Gemini model to use (default: "gemini-2.5-flash-lite-preview-06-17")
64+
- `GEMINI_MODEL`: Gemini model to use (default: "gemini-2.5-flash-lite")
6565
- `MAX_LABELS`: Maximum number of labels to apply (default: unlimited)
6666
- `EXCLUDED_LABELS`: Comma-separated list of labels to exclude (default: "good-first-issue,help-wanted,wontfix,hack")
6767

@@ -116,7 +116,7 @@ This package is designed to work with Tekton Pipelines as Code. Two PipelineRuns
116116

117117
## AI Model Configuration
118118

119-
Both pipelines use Google Gemini AI for analysis. The model can be configured via the `GEMINI_MODEL` environment variable. The current default is `"gemini-2.5-flash-lite-preview-06-17"` which provides a good balance of speed and quality for PR analysis tasks.
119+
Both pipelines use Google Gemini AI for analysis. The model can be configured via the `GEMINI_MODEL` environment variable. The current default is `"gemini-2.5-flash-lite"` which provides a good balance of speed and quality for PR analysis tasks.
120120

121121
## Development
122122

hack/pr-ci/src/pr_ci/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from dataclasses import dataclass, field
77
from typing import Optional
88

9-
DEFAULT_MODEL = "gemini-2.5-flash-lite-preview-06-17"
9+
DEFAULT_MODEL = "gemini-2.5-flash-lite"
1010

1111
# JIRA Custom Fields
1212
JIRA_CUSTOM_FIELDS = {

0 commit comments

Comments
 (0)