Skip to content

Commit

Permalink
Merge pull request #368 from devoxx/issue-367
Browse files Browse the repository at this point in the history
Issue 367
  • Loading branch information
stephanj authored Dec 11, 2024
2 parents d85c71d + 1b44d12 commit 5da7991
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 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.2"
version = "0.4.3"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ private void addGeminiModels() {
.build());

String geminiExp1206 = "gemini-exp-1206";
models.put(ModelProvider.Google.getName() + ":" + gemini10Pro,
models.put(ModelProvider.Google.getName() + ":" + geminiExp1206,
LanguageModel.builder()
.provider(ModelProvider.Google)
.modelName(geminiExp1206)
Expand All @@ -410,6 +410,19 @@ private void addGeminiModels() {
.contextWindow(2_000_000)
.apiKeyUsed(true)
.build());

String gemini2FlashExp = "gemini-2.0-flash-exp";
models.put(ModelProvider.Google.getName() + ":" + gemini2FlashExp,
LanguageModel.builder()
.provider(ModelProvider.Google)
.modelName(geminiExp1206)
.displayName("Gemini 2.0 Flash Exp")
.inputCost(0)
.outputCost(0)
.contextWindow(1_000_000)
.apiKeyUsed(true)
.build());

}

private void addGroqModels() {
Expand Down
4 changes: 4 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,10 @@
]]></description>

<change-notes><![CDATA[
<h2>v0.4.3</h2>
<UL>
<LI>Feature #367: Added Gemini 2.0 Flash Exp</LI>
</UL>
<h2>v0.4.2</h2>
<UL>
<LI>Feature #364: Show specific RAG prompt placeholder when turned on</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 @@
#Wed Dec 11 09:40:59 CET 2024
version=0.4.1
#Wed Dec 11 10:19:18 CET 2024
version=0.4.2

0 comments on commit 5da7991

Please sign in to comment.