Skip to content

Commit

Permalink
Merge pull request #395 from devoxx/issue-394
Browse files Browse the repository at this point in the history
Removed deprecated Gemini Pro 1.0
  • Loading branch information
stephanj authored Dec 16, 2024
2 parents c403375 + 0168c6f commit e798e41
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "com.devoxx.genie"
version = "0.4.5"
version = "0.4.6"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,18 +387,6 @@ private void addGeminiModels() {
.apiKeyUsed(true)
.build());

String gemini10Pro = "gemini-1.0-pro";
models.put(ModelProvider.Google.getName() + ":" + gemini10Pro,
LanguageModel.builder()
.provider(ModelProvider.Google)
.modelName(gemini10Pro)
.displayName("Gemini 1.0 Pro")
.inputCost(0.5)
.outputCost(1.5)
.contextWindow(1_000_000)
.apiKeyUsed(true)
.build());

String geminiExp1206 = "gemini-exp-1206";
models.put(ModelProvider.Google.getName() + ":" + geminiExp1206,
LanguageModel.builder()
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
]]></description>

<change-notes><![CDATA[
<h2>V0.4.6</h2>
<UL>
<LI>Fix #196 : Continue with prompt if '/' command is unknown</LI>
<LI>Fix #394 : Removed Google Gemini 1.0 Pro</LI>
</UL>
<h2>V0.4.5</h2>
<UL>
<LI>Feat #379: Cache file icons to increase performance</LI>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Mon Dec 16 09:47:38 CET 2024
version=0.4.5
#Mon Dec 16 13:59:22 CET 2024
version=0.4.6

0 comments on commit e798e41

Please sign in to comment.