Skip to content

Commit 44a6fcf

Browse files
committed
fix(gemini): Gemini configuration settings projectId and location are not used when verifying
1 parent 92150c6 commit 44a6fcf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
### Fixed
1111
- Open AI configuration setting `organizationId` is not used when verifying configuration.
12+
- Gemini configuration settings `projectId` and `location` are not used when verifying configuration.
1213

1314
## [2.4.1] - 2024-09-19
1415

src/main/kotlin/com/github/blarc/ai/commits/intellij/plugin/settings/clients/gemini/GeminiClientPanel.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ class GeminiClientPanel private constructor(
5959
// Configuration passed to panel is already a copy of the original or a new configuration
6060
clientConfiguration.modelId = modelComboBox.item
6161
clientConfiguration.temperature = temperatureTextField.text
62-
62+
clientConfiguration.projectId = projectIdTextField.text
63+
clientConfiguration.location = locationTextField.text
6364
service.verifyConfiguration(clientConfiguration, verifyLabel)
6465
}
6566
}

0 commit comments

Comments
 (0)