Skip to content

Commit

Permalink
Merge ClaudeAPI35SonnetBot into ClaudeAPISonnetBot, cc #867 (#932)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello authored Nov 5, 2024
1 parent 9c49c6b commit 67901d9
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 25 deletions.
10 changes: 0 additions & 10 deletions src/bots/anthropic/ClaudeAPI35SonnetBot.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/bots/anthropic/ClaudeAPISonnetBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ClaudeAPIBot from "./ClaudeAPIBot";
export default class ClaudeAPISonnetBot extends ClaudeAPIBot {
static _className = "ClaudeAPISonnetBot";
static _logoFilename = "claudeapi-sonnet-logo.png";
static _model = "claude-3-sonnet-20240229";
static _model = "claude-3-5-sonnet-latest";
constructor() {
super();
}
Expand Down
3 changes: 0 additions & 3 deletions src/bots/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ import ClaudeAPIOpusBot from "./anthropic/ClaudeAPIOpusBot";
import ClaudeAPI20Bot from "./anthropic/ClaudeAPI20Bot";
import ClaudeAPI21Bot from "./anthropic/ClaudeAPI21Bot";
import ClaudeAPISonnetBot from "./anthropic/ClaudeAPISonnetBot";
import ClaudeAPI35SonnetBot from "./anthropic/ClaudeAPI35SonnetBot";
import ClaudeAPIHaikuBot from "./anthropic/ClaudeAPIHaikuBot";

const all = [
Expand All @@ -99,7 +98,6 @@ const all = [
Claude3SonnetBot.getInstance(),
ClaudeAPIOpusBot.getInstance(),
ClaudeAPISonnetBot.getInstance(),
ClaudeAPI35SonnetBot.getInstance(),
ClaudeAPIHaikuBot.getInstance(),
ClaudeAPI20Bot.getInstance(),
ClaudeAPI21Bot.getInstance(),
Expand Down Expand Up @@ -295,7 +293,6 @@ export const botTags = {
bots.getBotByClassName("ClaudeAPIHaikuBot"),
bots.getBotByClassName("ClaudeAPIOpusBot"),
bots.getBotByClassName("ClaudeAPISonnetBot"),
bots.getBotByClassName("ClaudeAPI35SonnetBot"),
bots.getBotByClassName("CohereAPICommandBot"),
bots.getBotByClassName("CohereAPICommandLightBot"),
bots.getBotByClassName("CohereAPICommandRBot"),
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi": {
"name": "Claude API",
"claude-3-opus-20240229": "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21": "claude-2.1",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi": {
"name": "Claude API",
"claude-3-opus-20240229": "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21": "claude-2.1",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi": {
"name": "Claude API",
"claude-3-opus-20240229": "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21": "claude-2.1",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi": {
"name": "Claude API",
"claude-3-opus-20240229": "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21": "claude-2.1",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi": {
"name": "Claude API",
"claude-3-opus-20240229": "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21": "claude-2.1",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi": {
"name": "Claude API",
"claude-3-opus-20240229": "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21": "claude-2.1",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi": {
"name": "Claude API",
"claude-3-opus-20240229": "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21": "claude-2.1",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi": {
"name": "Claude API",
"claude-3-opus-20240229": "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21": "claude-2.1",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi":{
"name": "Claude API",
"claude-3-opus-20240229" : "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21":"claude-2.1",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi":{
"name": "Claude API",
"claude-3-opus-20240229" : "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21":"claude-2.1",
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/zhtw.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"claudeApi":{
"name": "Claude API",
"claude-3-opus-20240229" : "claude-3-opus",
"claude-3-sonnet-20240229": "claude-3-sonnet",
"claude-3-haiku-20240307": "claude-3-haiku",
"claude-3-5-sonnet-latest": "claude-3.5-sonnet",
"claude-21":"claude-2.1",
Expand Down

0 comments on commit 67901d9

Please sign in to comment.