Skip to content

Commit

Permalink
Merge pull request #323 from mydeveloperplanet/issue-322
Browse files Browse the repository at this point in the history
Add Claude 3.5 Haiku and update Claude 3.5 Sonnet to the new version
  • Loading branch information
stephanj authored Nov 5, 2024
2 parents c13d771 + 5eadb3b commit a0e3956
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,27 @@ private void addAnthropicModels() {
.apiKeyUsed(true)
.build());

models.put(ModelProvider.Anthropic.getName() + "-claude-3-5-sonnet-20240620",
models.put(ModelProvider.Anthropic.getName() + "-claude-3-5-sonnet-20241022",
LanguageModel.builder()
.provider(ModelProvider.Anthropic)
.modelName("claude-3-5-sonnet-20240620")
.modelName("claude-3-5-sonnet-20241022")
.displayName("Claude 3.5 Sonnet")
.inputCost(3)
.outputCost(15)
.contextWindow(200_000)
.apiKeyUsed(true)
.build());

models.put(ModelProvider.Anthropic.getName() + "-claude-3-5-haiku-20241022",
LanguageModel.builder()
.provider(ModelProvider.Anthropic)
.modelName("claude-3-5-haiku-20241022")
.displayName("Claude 3.5 Haiku")
.inputCost(1)
.outputCost(5)
.contextWindow(200_000)
.apiKeyUsed(true)
.build());
}

private void addOpenAiModels() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<change-notes><![CDATA[
<h2>v0.2.25</h2>
<UL>
<LI></LI>
<LI>Feature #322: Add Claude 3.5 Haiku and update Claude 3.5 Sonnet version</LI>
</UL>
<h2>v0.2.24</h2>
<UL>
Expand Down

0 comments on commit a0e3956

Please sign in to comment.