@aituber-onair/core 0.5.0 → 0.5.1
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.
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export declare const ENDPOINT_OPENAI_CHAT_COMPLETIONS_API = "https://api.openai.com/v1/chat/completions";
|
|
2
|
+
export declare const MODEL_GPT_4_1 = "gpt-4.1";
|
|
3
|
+
export declare const MODEL_GPT_4_1_MINI = "gpt-4.1-mini";
|
|
4
|
+
export declare const MODEL_GPT_4_1_NANO = "gpt-4.1-nano";
|
|
2
5
|
export declare const MODEL_GPT_4O_MINI = "gpt-4o-mini";
|
|
3
6
|
export declare const MODEL_GPT_4O = "gpt-4o";
|
|
4
7
|
export declare const MODEL_O3_MINI = "o3-mini";
|
|
5
|
-
export declare const MODEL_GPT_4_5_PREVIEW = "gpt-4.5-preview";
|
|
6
8
|
export declare const MODEL_O1_MINI = "o1-mini";
|
|
7
9
|
export declare const MODEL_O1 = "o1";
|
|
10
|
+
export declare const MODEL_GPT_4_5_PREVIEW = "gpt-4.5-preview";
|
|
8
11
|
export declare const VISION_SUPPORTED_MODELS: string[];
|
package/dist/constants/openai.js
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
export const ENDPOINT_OPENAI_CHAT_COMPLETIONS_API = 'https://api.openai.com/v1/chat/completions';
|
|
2
2
|
// gpt model
|
|
3
|
+
export const MODEL_GPT_4_1 = 'gpt-4.1';
|
|
4
|
+
export const MODEL_GPT_4_1_MINI = 'gpt-4.1-mini';
|
|
5
|
+
export const MODEL_GPT_4_1_NANO = 'gpt-4.1-nano';
|
|
3
6
|
export const MODEL_GPT_4O_MINI = 'gpt-4o-mini';
|
|
4
7
|
export const MODEL_GPT_4O = 'gpt-4o';
|
|
5
8
|
export const MODEL_O3_MINI = 'o3-mini';
|
|
6
|
-
export const MODEL_GPT_4_5_PREVIEW = 'gpt-4.5-preview';
|
|
7
9
|
export const MODEL_O1_MINI = 'o1-mini';
|
|
8
10
|
export const MODEL_O1 = 'o1';
|
|
11
|
+
// deprecated
|
|
12
|
+
export const MODEL_GPT_4_5_PREVIEW = 'gpt-4.5-preview';
|
|
9
13
|
// Vision support for models
|
|
10
14
|
export const VISION_SUPPORTED_MODELS = [
|
|
15
|
+
MODEL_GPT_4_1,
|
|
16
|
+
MODEL_GPT_4_1_MINI,
|
|
17
|
+
MODEL_GPT_4_1_NANO,
|
|
11
18
|
MODEL_GPT_4O_MINI,
|
|
12
19
|
MODEL_GPT_4O,
|
|
13
20
|
MODEL_GPT_4_5_PREVIEW,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai.js","sourceRoot":"","sources":["../../src/constants/openai.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oCAAoC,GAC/C,4CAA4C,CAAC;AAE/C,YAAY;AACZ,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC/C,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC;AACrC,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AAEvC,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"openai.js","sourceRoot":"","sources":["../../src/constants/openai.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oCAAoC,GAC/C,4CAA4C,CAAC;AAE/C,YAAY;AACZ,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AACvC,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAc,CAAC;AACjD,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAEjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC/C,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC;AACrC,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AAEvC,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AACvC,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAC;AAE7B,aAAa;AACb,MAAM,CAAC,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;AAEvD,4BAA4B;AAC5B,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,aAAa;IACb,kBAAkB;IAClB,kBAAkB;IAClB,iBAAiB;IACjB,YAAY;IACZ,qBAAqB;IACrB,QAAQ;IACR,+EAA+E;CAChF,CAAC"}
|