notdiamond 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +16 -4
- package/dist/index.d.cts +9 -3
- package/dist/index.d.mts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.mjs +16 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -28,7 +28,7 @@ function _interopNamespaceCompat(e) {
|
|
|
28
28
|
const dotenv__namespace = /*#__PURE__*/_interopNamespaceCompat(dotenv);
|
|
29
29
|
const axios__default = /*#__PURE__*/_interopDefaultCompat(axios);
|
|
30
30
|
|
|
31
|
-
const version = "1.1.
|
|
31
|
+
const version = "1.1.1";
|
|
32
32
|
const packageJson = {
|
|
33
33
|
version: version};
|
|
34
34
|
|
|
@@ -104,6 +104,8 @@ const SupportedModel = {
|
|
|
104
104
|
GPT_4O_MINI_2024_07_18: "gpt-4o-mini-2024-07-18",
|
|
105
105
|
GPT_4O_MINI: "gpt-4o-mini",
|
|
106
106
|
GPT_4_0125_PREVIEW: "gpt-4-0125-preview",
|
|
107
|
+
GPT_4_5_PREVIEW: "gpt-4.5-preview",
|
|
108
|
+
GPT_4_5_PREVIEW_2025_02_27: "gpt-4.5-preview-2025-02-27",
|
|
107
109
|
CHATGPT_4O_LATEST: "chatgpt-4o-latest",
|
|
108
110
|
O1_PREVIEW: "o1-preview",
|
|
109
111
|
O1_PREVIEW_2024_09_12: "o1-preview-2024-09-12",
|
|
@@ -117,11 +119,15 @@ const SupportedModel = {
|
|
|
117
119
|
CLAUDE_3_5_SONNET_LATEST: "claude-3-5-sonnet-latest",
|
|
118
120
|
CLAUDE_3_HAIKU_20240307: "claude-3-haiku-20240307",
|
|
119
121
|
CLAUDE_3_5_HAIKU_20241022: "claude-3-5-haiku-20241022",
|
|
122
|
+
CLAUDE_3_7_SONNET_LATEST: "claude-3-7-sonnet-latest",
|
|
123
|
+
CLAUDE_3_7_SONNET_20250219: "claude-3-7-sonnet-20250219",
|
|
120
124
|
GEMINI_PRO: "gemini-pro",
|
|
121
125
|
GEMINI_1_PRO_LATEST: "gemini-1.0-pro-latest",
|
|
122
126
|
GEMINI_15_PRO_LATEST: "gemini-1.5-pro-latest",
|
|
123
127
|
GEMINI_15_PRO_EXP_0801: "gemini-1.5-pro-exp-0801",
|
|
124
128
|
GEMINI_15_FLASH_LATEST: "gemini-1.5-flash-latest",
|
|
129
|
+
GEMINI_2_0_FLASH: "gemini-2.0-flash",
|
|
130
|
+
GEMINI_2_0_FLASH_001: "gemini-2.0-flash-001",
|
|
125
131
|
COMMAND_R: "command-r",
|
|
126
132
|
COMMAND_R_PLUS: "command-r-plus",
|
|
127
133
|
MISTRAL_LARGE_LATEST: "mistral-large-latest",
|
|
@@ -166,7 +172,9 @@ const SupportedModel = {
|
|
|
166
172
|
SupportedModel.O1_PREVIEW_2024_09_12,
|
|
167
173
|
SupportedModel.O1_MINI,
|
|
168
174
|
SupportedModel.O1_MINI_2024_09_12,
|
|
169
|
-
SupportedModel.CHATGPT_4O_LATEST
|
|
175
|
+
SupportedModel.CHATGPT_4O_LATEST,
|
|
176
|
+
SupportedModel.GPT_4_5_PREVIEW,
|
|
177
|
+
SupportedModel.GPT_4_5_PREVIEW_2025_02_27
|
|
170
178
|
],
|
|
171
179
|
[SupportedProvider.ANTHROPIC]: [
|
|
172
180
|
SupportedModel.CLAUDE_2_1,
|
|
@@ -176,14 +184,18 @@ const SupportedModel = {
|
|
|
176
184
|
SupportedModel.CLAUDE_3_5_SONNET_20241022,
|
|
177
185
|
SupportedModel.CLAUDE_3_5_SONNET_LATEST,
|
|
178
186
|
SupportedModel.CLAUDE_3_HAIKU_20240307,
|
|
179
|
-
SupportedModel.CLAUDE_3_5_HAIKU_20241022
|
|
187
|
+
SupportedModel.CLAUDE_3_5_HAIKU_20241022,
|
|
188
|
+
SupportedModel.CLAUDE_3_7_SONNET_LATEST,
|
|
189
|
+
SupportedModel.CLAUDE_3_7_SONNET_20250219
|
|
180
190
|
],
|
|
181
191
|
[SupportedProvider.GOOGLE]: [
|
|
182
192
|
SupportedModel.GEMINI_PRO,
|
|
183
193
|
SupportedModel.GEMINI_1_PRO_LATEST,
|
|
184
194
|
SupportedModel.GEMINI_15_PRO_LATEST,
|
|
185
195
|
SupportedModel.GEMINI_15_PRO_EXP_0801,
|
|
186
|
-
SupportedModel.GEMINI_15_FLASH_LATEST
|
|
196
|
+
SupportedModel.GEMINI_15_FLASH_LATEST,
|
|
197
|
+
SupportedModel.GEMINI_2_0_FLASH,
|
|
198
|
+
SupportedModel.GEMINI_2_0_FLASH_001
|
|
187
199
|
],
|
|
188
200
|
[SupportedProvider.MISTRAL]: [
|
|
189
201
|
SupportedModel.MISTRAL_LARGE_LATEST,
|
package/dist/index.d.cts
CHANGED
|
@@ -24,6 +24,8 @@ declare const SupportedModel: {
|
|
|
24
24
|
readonly GPT_4O_MINI_2024_07_18: "gpt-4o-mini-2024-07-18";
|
|
25
25
|
readonly GPT_4O_MINI: "gpt-4o-mini";
|
|
26
26
|
readonly GPT_4_0125_PREVIEW: "gpt-4-0125-preview";
|
|
27
|
+
readonly GPT_4_5_PREVIEW: "gpt-4.5-preview";
|
|
28
|
+
readonly GPT_4_5_PREVIEW_2025_02_27: "gpt-4.5-preview-2025-02-27";
|
|
27
29
|
readonly CHATGPT_4O_LATEST: "chatgpt-4o-latest";
|
|
28
30
|
readonly O1_PREVIEW: "o1-preview";
|
|
29
31
|
readonly O1_PREVIEW_2024_09_12: "o1-preview-2024-09-12";
|
|
@@ -37,11 +39,15 @@ declare const SupportedModel: {
|
|
|
37
39
|
readonly CLAUDE_3_5_SONNET_LATEST: "claude-3-5-sonnet-latest";
|
|
38
40
|
readonly CLAUDE_3_HAIKU_20240307: "claude-3-haiku-20240307";
|
|
39
41
|
readonly CLAUDE_3_5_HAIKU_20241022: "claude-3-5-haiku-20241022";
|
|
42
|
+
readonly CLAUDE_3_7_SONNET_LATEST: "claude-3-7-sonnet-latest";
|
|
43
|
+
readonly CLAUDE_3_7_SONNET_20250219: "claude-3-7-sonnet-20250219";
|
|
40
44
|
readonly GEMINI_PRO: "gemini-pro";
|
|
41
45
|
readonly GEMINI_1_PRO_LATEST: "gemini-1.0-pro-latest";
|
|
42
46
|
readonly GEMINI_15_PRO_LATEST: "gemini-1.5-pro-latest";
|
|
43
47
|
readonly GEMINI_15_PRO_EXP_0801: "gemini-1.5-pro-exp-0801";
|
|
44
48
|
readonly GEMINI_15_FLASH_LATEST: "gemini-1.5-flash-latest";
|
|
49
|
+
readonly GEMINI_2_0_FLASH: "gemini-2.0-flash";
|
|
50
|
+
readonly GEMINI_2_0_FLASH_001: "gemini-2.0-flash-001";
|
|
45
51
|
readonly COMMAND_R: "command-r";
|
|
46
52
|
readonly COMMAND_R_PLUS: "command-r-plus";
|
|
47
53
|
readonly MISTRAL_LARGE_LATEST: "mistral-large-latest";
|
|
@@ -67,9 +73,9 @@ declare const SupportedModel: {
|
|
|
67
73
|
readonly DEEPSEEK_R1: "DeepSeek-R1";
|
|
68
74
|
};
|
|
69
75
|
declare const ProviderModelMap: {
|
|
70
|
-
readonly openai: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-0125", "gpt-4", "gpt-4-0613", "gpt-4-1106-preview", "gpt-4-turbo", "gpt-4-turbo-preview", "gpt-4-turbo-2024-04-09", "gpt-4o-2024-05-13", "gpt-4o-2024-08-06", "gpt-4o", "gpt-4o-mini-2024-07-18", "gpt-4o-mini", "gpt-4-0125-preview", "o1-preview", "o1-preview-2024-09-12", "o1-mini", "o1-mini-2024-09-12", "chatgpt-4o-latest"];
|
|
71
|
-
readonly anthropic: readonly ["claude-2.1", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-5-sonnet-latest", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022"];
|
|
72
|
-
readonly google: readonly ["gemini-pro", "gemini-1.0-pro-latest", "gemini-1.5-pro-latest", "gemini-1.5-pro-exp-0801", "gemini-1.5-flash-latest"];
|
|
76
|
+
readonly openai: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-0125", "gpt-4", "gpt-4-0613", "gpt-4-1106-preview", "gpt-4-turbo", "gpt-4-turbo-preview", "gpt-4-turbo-2024-04-09", "gpt-4o-2024-05-13", "gpt-4o-2024-08-06", "gpt-4o", "gpt-4o-mini-2024-07-18", "gpt-4o-mini", "gpt-4-0125-preview", "o1-preview", "o1-preview-2024-09-12", "o1-mini", "o1-mini-2024-09-12", "chatgpt-4o-latest", "gpt-4.5-preview", "gpt-4.5-preview-2025-02-27"];
|
|
77
|
+
readonly anthropic: readonly ["claude-2.1", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-5-sonnet-latest", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "claude-3-7-sonnet-latest", "claude-3-7-sonnet-20250219"];
|
|
78
|
+
readonly google: readonly ["gemini-pro", "gemini-1.0-pro-latest", "gemini-1.5-pro-latest", "gemini-1.5-pro-exp-0801", "gemini-1.5-flash-latest", "gemini-2.0-flash", "gemini-2.0-flash-001"];
|
|
73
79
|
readonly mistral: readonly ["mistral-large-latest", "mistral-large-2407", "mistral-large-2402", "mistral-medium-latest", "mistral-small-latest", "codestral-latest", "open-mistral-7b", "open-mixtral-8x7b", "open-mixtral-8x22b", "open-mistral-nemo"];
|
|
74
80
|
readonly perplexity: readonly ["sonar"];
|
|
75
81
|
readonly cohere: readonly ["command-r", "command-r-plus"];
|
package/dist/index.d.mts
CHANGED
|
@@ -24,6 +24,8 @@ declare const SupportedModel: {
|
|
|
24
24
|
readonly GPT_4O_MINI_2024_07_18: "gpt-4o-mini-2024-07-18";
|
|
25
25
|
readonly GPT_4O_MINI: "gpt-4o-mini";
|
|
26
26
|
readonly GPT_4_0125_PREVIEW: "gpt-4-0125-preview";
|
|
27
|
+
readonly GPT_4_5_PREVIEW: "gpt-4.5-preview";
|
|
28
|
+
readonly GPT_4_5_PREVIEW_2025_02_27: "gpt-4.5-preview-2025-02-27";
|
|
27
29
|
readonly CHATGPT_4O_LATEST: "chatgpt-4o-latest";
|
|
28
30
|
readonly O1_PREVIEW: "o1-preview";
|
|
29
31
|
readonly O1_PREVIEW_2024_09_12: "o1-preview-2024-09-12";
|
|
@@ -37,11 +39,15 @@ declare const SupportedModel: {
|
|
|
37
39
|
readonly CLAUDE_3_5_SONNET_LATEST: "claude-3-5-sonnet-latest";
|
|
38
40
|
readonly CLAUDE_3_HAIKU_20240307: "claude-3-haiku-20240307";
|
|
39
41
|
readonly CLAUDE_3_5_HAIKU_20241022: "claude-3-5-haiku-20241022";
|
|
42
|
+
readonly CLAUDE_3_7_SONNET_LATEST: "claude-3-7-sonnet-latest";
|
|
43
|
+
readonly CLAUDE_3_7_SONNET_20250219: "claude-3-7-sonnet-20250219";
|
|
40
44
|
readonly GEMINI_PRO: "gemini-pro";
|
|
41
45
|
readonly GEMINI_1_PRO_LATEST: "gemini-1.0-pro-latest";
|
|
42
46
|
readonly GEMINI_15_PRO_LATEST: "gemini-1.5-pro-latest";
|
|
43
47
|
readonly GEMINI_15_PRO_EXP_0801: "gemini-1.5-pro-exp-0801";
|
|
44
48
|
readonly GEMINI_15_FLASH_LATEST: "gemini-1.5-flash-latest";
|
|
49
|
+
readonly GEMINI_2_0_FLASH: "gemini-2.0-flash";
|
|
50
|
+
readonly GEMINI_2_0_FLASH_001: "gemini-2.0-flash-001";
|
|
45
51
|
readonly COMMAND_R: "command-r";
|
|
46
52
|
readonly COMMAND_R_PLUS: "command-r-plus";
|
|
47
53
|
readonly MISTRAL_LARGE_LATEST: "mistral-large-latest";
|
|
@@ -67,9 +73,9 @@ declare const SupportedModel: {
|
|
|
67
73
|
readonly DEEPSEEK_R1: "DeepSeek-R1";
|
|
68
74
|
};
|
|
69
75
|
declare const ProviderModelMap: {
|
|
70
|
-
readonly openai: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-0125", "gpt-4", "gpt-4-0613", "gpt-4-1106-preview", "gpt-4-turbo", "gpt-4-turbo-preview", "gpt-4-turbo-2024-04-09", "gpt-4o-2024-05-13", "gpt-4o-2024-08-06", "gpt-4o", "gpt-4o-mini-2024-07-18", "gpt-4o-mini", "gpt-4-0125-preview", "o1-preview", "o1-preview-2024-09-12", "o1-mini", "o1-mini-2024-09-12", "chatgpt-4o-latest"];
|
|
71
|
-
readonly anthropic: readonly ["claude-2.1", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-5-sonnet-latest", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022"];
|
|
72
|
-
readonly google: readonly ["gemini-pro", "gemini-1.0-pro-latest", "gemini-1.5-pro-latest", "gemini-1.5-pro-exp-0801", "gemini-1.5-flash-latest"];
|
|
76
|
+
readonly openai: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-0125", "gpt-4", "gpt-4-0613", "gpt-4-1106-preview", "gpt-4-turbo", "gpt-4-turbo-preview", "gpt-4-turbo-2024-04-09", "gpt-4o-2024-05-13", "gpt-4o-2024-08-06", "gpt-4o", "gpt-4o-mini-2024-07-18", "gpt-4o-mini", "gpt-4-0125-preview", "o1-preview", "o1-preview-2024-09-12", "o1-mini", "o1-mini-2024-09-12", "chatgpt-4o-latest", "gpt-4.5-preview", "gpt-4.5-preview-2025-02-27"];
|
|
77
|
+
readonly anthropic: readonly ["claude-2.1", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-5-sonnet-latest", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "claude-3-7-sonnet-latest", "claude-3-7-sonnet-20250219"];
|
|
78
|
+
readonly google: readonly ["gemini-pro", "gemini-1.0-pro-latest", "gemini-1.5-pro-latest", "gemini-1.5-pro-exp-0801", "gemini-1.5-flash-latest", "gemini-2.0-flash", "gemini-2.0-flash-001"];
|
|
73
79
|
readonly mistral: readonly ["mistral-large-latest", "mistral-large-2407", "mistral-large-2402", "mistral-medium-latest", "mistral-small-latest", "codestral-latest", "open-mistral-7b", "open-mixtral-8x7b", "open-mixtral-8x22b", "open-mistral-nemo"];
|
|
74
80
|
readonly perplexity: readonly ["sonar"];
|
|
75
81
|
readonly cohere: readonly ["command-r", "command-r-plus"];
|
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ declare const SupportedModel: {
|
|
|
24
24
|
readonly GPT_4O_MINI_2024_07_18: "gpt-4o-mini-2024-07-18";
|
|
25
25
|
readonly GPT_4O_MINI: "gpt-4o-mini";
|
|
26
26
|
readonly GPT_4_0125_PREVIEW: "gpt-4-0125-preview";
|
|
27
|
+
readonly GPT_4_5_PREVIEW: "gpt-4.5-preview";
|
|
28
|
+
readonly GPT_4_5_PREVIEW_2025_02_27: "gpt-4.5-preview-2025-02-27";
|
|
27
29
|
readonly CHATGPT_4O_LATEST: "chatgpt-4o-latest";
|
|
28
30
|
readonly O1_PREVIEW: "o1-preview";
|
|
29
31
|
readonly O1_PREVIEW_2024_09_12: "o1-preview-2024-09-12";
|
|
@@ -37,11 +39,15 @@ declare const SupportedModel: {
|
|
|
37
39
|
readonly CLAUDE_3_5_SONNET_LATEST: "claude-3-5-sonnet-latest";
|
|
38
40
|
readonly CLAUDE_3_HAIKU_20240307: "claude-3-haiku-20240307";
|
|
39
41
|
readonly CLAUDE_3_5_HAIKU_20241022: "claude-3-5-haiku-20241022";
|
|
42
|
+
readonly CLAUDE_3_7_SONNET_LATEST: "claude-3-7-sonnet-latest";
|
|
43
|
+
readonly CLAUDE_3_7_SONNET_20250219: "claude-3-7-sonnet-20250219";
|
|
40
44
|
readonly GEMINI_PRO: "gemini-pro";
|
|
41
45
|
readonly GEMINI_1_PRO_LATEST: "gemini-1.0-pro-latest";
|
|
42
46
|
readonly GEMINI_15_PRO_LATEST: "gemini-1.5-pro-latest";
|
|
43
47
|
readonly GEMINI_15_PRO_EXP_0801: "gemini-1.5-pro-exp-0801";
|
|
44
48
|
readonly GEMINI_15_FLASH_LATEST: "gemini-1.5-flash-latest";
|
|
49
|
+
readonly GEMINI_2_0_FLASH: "gemini-2.0-flash";
|
|
50
|
+
readonly GEMINI_2_0_FLASH_001: "gemini-2.0-flash-001";
|
|
45
51
|
readonly COMMAND_R: "command-r";
|
|
46
52
|
readonly COMMAND_R_PLUS: "command-r-plus";
|
|
47
53
|
readonly MISTRAL_LARGE_LATEST: "mistral-large-latest";
|
|
@@ -67,9 +73,9 @@ declare const SupportedModel: {
|
|
|
67
73
|
readonly DEEPSEEK_R1: "DeepSeek-R1";
|
|
68
74
|
};
|
|
69
75
|
declare const ProviderModelMap: {
|
|
70
|
-
readonly openai: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-0125", "gpt-4", "gpt-4-0613", "gpt-4-1106-preview", "gpt-4-turbo", "gpt-4-turbo-preview", "gpt-4-turbo-2024-04-09", "gpt-4o-2024-05-13", "gpt-4o-2024-08-06", "gpt-4o", "gpt-4o-mini-2024-07-18", "gpt-4o-mini", "gpt-4-0125-preview", "o1-preview", "o1-preview-2024-09-12", "o1-mini", "o1-mini-2024-09-12", "chatgpt-4o-latest"];
|
|
71
|
-
readonly anthropic: readonly ["claude-2.1", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-5-sonnet-latest", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022"];
|
|
72
|
-
readonly google: readonly ["gemini-pro", "gemini-1.0-pro-latest", "gemini-1.5-pro-latest", "gemini-1.5-pro-exp-0801", "gemini-1.5-flash-latest"];
|
|
76
|
+
readonly openai: readonly ["gpt-3.5-turbo", "gpt-3.5-turbo-0125", "gpt-4", "gpt-4-0613", "gpt-4-1106-preview", "gpt-4-turbo", "gpt-4-turbo-preview", "gpt-4-turbo-2024-04-09", "gpt-4o-2024-05-13", "gpt-4o-2024-08-06", "gpt-4o", "gpt-4o-mini-2024-07-18", "gpt-4o-mini", "gpt-4-0125-preview", "o1-preview", "o1-preview-2024-09-12", "o1-mini", "o1-mini-2024-09-12", "chatgpt-4o-latest", "gpt-4.5-preview", "gpt-4.5-preview-2025-02-27"];
|
|
77
|
+
readonly anthropic: readonly ["claude-2.1", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-5-sonnet-latest", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022", "claude-3-7-sonnet-latest", "claude-3-7-sonnet-20250219"];
|
|
78
|
+
readonly google: readonly ["gemini-pro", "gemini-1.0-pro-latest", "gemini-1.5-pro-latest", "gemini-1.5-pro-exp-0801", "gemini-1.5-flash-latest", "gemini-2.0-flash", "gemini-2.0-flash-001"];
|
|
73
79
|
readonly mistral: readonly ["mistral-large-latest", "mistral-large-2407", "mistral-large-2402", "mistral-medium-latest", "mistral-small-latest", "codestral-latest", "open-mistral-7b", "open-mixtral-8x7b", "open-mixtral-8x22b", "open-mistral-nemo"];
|
|
74
80
|
readonly perplexity: readonly ["sonar"];
|
|
75
81
|
readonly cohere: readonly ["command-r", "command-r-plus"];
|
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import axios from 'axios';
|
|
|
9
9
|
import { ChatCohere } from '@langchain/cohere';
|
|
10
10
|
import { ChatTogetherAI } from '@langchain/community/chat_models/togetherai';
|
|
11
11
|
|
|
12
|
-
const version = "1.1.
|
|
12
|
+
const version = "1.1.1";
|
|
13
13
|
const packageJson = {
|
|
14
14
|
version: version};
|
|
15
15
|
|
|
@@ -85,6 +85,8 @@ const SupportedModel = {
|
|
|
85
85
|
GPT_4O_MINI_2024_07_18: "gpt-4o-mini-2024-07-18",
|
|
86
86
|
GPT_4O_MINI: "gpt-4o-mini",
|
|
87
87
|
GPT_4_0125_PREVIEW: "gpt-4-0125-preview",
|
|
88
|
+
GPT_4_5_PREVIEW: "gpt-4.5-preview",
|
|
89
|
+
GPT_4_5_PREVIEW_2025_02_27: "gpt-4.5-preview-2025-02-27",
|
|
88
90
|
CHATGPT_4O_LATEST: "chatgpt-4o-latest",
|
|
89
91
|
O1_PREVIEW: "o1-preview",
|
|
90
92
|
O1_PREVIEW_2024_09_12: "o1-preview-2024-09-12",
|
|
@@ -98,11 +100,15 @@ const SupportedModel = {
|
|
|
98
100
|
CLAUDE_3_5_SONNET_LATEST: "claude-3-5-sonnet-latest",
|
|
99
101
|
CLAUDE_3_HAIKU_20240307: "claude-3-haiku-20240307",
|
|
100
102
|
CLAUDE_3_5_HAIKU_20241022: "claude-3-5-haiku-20241022",
|
|
103
|
+
CLAUDE_3_7_SONNET_LATEST: "claude-3-7-sonnet-latest",
|
|
104
|
+
CLAUDE_3_7_SONNET_20250219: "claude-3-7-sonnet-20250219",
|
|
101
105
|
GEMINI_PRO: "gemini-pro",
|
|
102
106
|
GEMINI_1_PRO_LATEST: "gemini-1.0-pro-latest",
|
|
103
107
|
GEMINI_15_PRO_LATEST: "gemini-1.5-pro-latest",
|
|
104
108
|
GEMINI_15_PRO_EXP_0801: "gemini-1.5-pro-exp-0801",
|
|
105
109
|
GEMINI_15_FLASH_LATEST: "gemini-1.5-flash-latest",
|
|
110
|
+
GEMINI_2_0_FLASH: "gemini-2.0-flash",
|
|
111
|
+
GEMINI_2_0_FLASH_001: "gemini-2.0-flash-001",
|
|
106
112
|
COMMAND_R: "command-r",
|
|
107
113
|
COMMAND_R_PLUS: "command-r-plus",
|
|
108
114
|
MISTRAL_LARGE_LATEST: "mistral-large-latest",
|
|
@@ -147,7 +153,9 @@ const SupportedModel = {
|
|
|
147
153
|
SupportedModel.O1_PREVIEW_2024_09_12,
|
|
148
154
|
SupportedModel.O1_MINI,
|
|
149
155
|
SupportedModel.O1_MINI_2024_09_12,
|
|
150
|
-
SupportedModel.CHATGPT_4O_LATEST
|
|
156
|
+
SupportedModel.CHATGPT_4O_LATEST,
|
|
157
|
+
SupportedModel.GPT_4_5_PREVIEW,
|
|
158
|
+
SupportedModel.GPT_4_5_PREVIEW_2025_02_27
|
|
151
159
|
],
|
|
152
160
|
[SupportedProvider.ANTHROPIC]: [
|
|
153
161
|
SupportedModel.CLAUDE_2_1,
|
|
@@ -157,14 +165,18 @@ const SupportedModel = {
|
|
|
157
165
|
SupportedModel.CLAUDE_3_5_SONNET_20241022,
|
|
158
166
|
SupportedModel.CLAUDE_3_5_SONNET_LATEST,
|
|
159
167
|
SupportedModel.CLAUDE_3_HAIKU_20240307,
|
|
160
|
-
SupportedModel.CLAUDE_3_5_HAIKU_20241022
|
|
168
|
+
SupportedModel.CLAUDE_3_5_HAIKU_20241022,
|
|
169
|
+
SupportedModel.CLAUDE_3_7_SONNET_LATEST,
|
|
170
|
+
SupportedModel.CLAUDE_3_7_SONNET_20250219
|
|
161
171
|
],
|
|
162
172
|
[SupportedProvider.GOOGLE]: [
|
|
163
173
|
SupportedModel.GEMINI_PRO,
|
|
164
174
|
SupportedModel.GEMINI_1_PRO_LATEST,
|
|
165
175
|
SupportedModel.GEMINI_15_PRO_LATEST,
|
|
166
176
|
SupportedModel.GEMINI_15_PRO_EXP_0801,
|
|
167
|
-
SupportedModel.GEMINI_15_FLASH_LATEST
|
|
177
|
+
SupportedModel.GEMINI_15_FLASH_LATEST,
|
|
178
|
+
SupportedModel.GEMINI_2_0_FLASH,
|
|
179
|
+
SupportedModel.GEMINI_2_0_FLASH_001
|
|
168
180
|
],
|
|
169
181
|
[SupportedProvider.MISTRAL]: [
|
|
170
182
|
SupportedModel.MISTRAL_LARGE_LATEST,
|