190proof 1.0.5 → 1.0.8
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -8,7 +8,8 @@ declare enum GPTModel {
|
|
|
8
8
|
GPT35_0613_16K = "gpt-3.5-turbo-16k-0613",
|
|
9
9
|
GPT35_0125 = "gpt-3.5-turbo-0125",
|
|
10
10
|
GPT4_1106_PREVIEW = "gpt-4-1106-preview",
|
|
11
|
-
GPT4_0125_PREVIEW = "gpt-4-0125-preview"
|
|
11
|
+
GPT4_0125_PREVIEW = "gpt-4-0125-preview",
|
|
12
|
+
GPT4_0409 = "gpt-4-turbo-2024-04-09"
|
|
12
13
|
}
|
|
13
14
|
declare enum GroqModel {
|
|
14
15
|
LLAMA_3_70B_8192 = "llama3-70b-8192"
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ declare enum GPTModel {
|
|
|
8
8
|
GPT35_0613_16K = "gpt-3.5-turbo-16k-0613",
|
|
9
9
|
GPT35_0125 = "gpt-3.5-turbo-0125",
|
|
10
10
|
GPT4_1106_PREVIEW = "gpt-4-1106-preview",
|
|
11
|
-
GPT4_0125_PREVIEW = "gpt-4-0125-preview"
|
|
11
|
+
GPT4_0125_PREVIEW = "gpt-4-0125-preview",
|
|
12
|
+
GPT4_0409 = "gpt-4-turbo-2024-04-09"
|
|
12
13
|
}
|
|
13
14
|
declare enum GroqModel {
|
|
14
15
|
LLAMA_3_70B_8192 = "llama3-70b-8192"
|
package/dist/index.js
CHANGED
|
@@ -27033,6 +27033,7 @@ var GPTModel = /* @__PURE__ */ ((GPTModel2) => {
|
|
|
27033
27033
|
GPTModel2["GPT35_0125"] = "gpt-3.5-turbo-0125";
|
|
27034
27034
|
GPTModel2["GPT4_1106_PREVIEW"] = "gpt-4-1106-preview";
|
|
27035
27035
|
GPTModel2["GPT4_0125_PREVIEW"] = "gpt-4-0125-preview";
|
|
27036
|
+
GPTModel2["GPT4_0409"] = "gpt-4-turbo-2024-04-09";
|
|
27036
27037
|
return GPTModel2;
|
|
27037
27038
|
})(GPTModel || {});
|
|
27038
27039
|
var GroqModel = /* @__PURE__ */ ((GroqModel2) => {
|
|
@@ -31537,7 +31538,6 @@ async function callOpenAIStream(identifier, openAiPayload, openAiConfig, chunkTi
|
|
|
31537
31538
|
baseUrl: defaultOpenAIBaseUrl
|
|
31538
31539
|
};
|
|
31539
31540
|
}
|
|
31540
|
-
console.log("payload", openAiPayload);
|
|
31541
31541
|
let response;
|
|
31542
31542
|
const controller = new AbortController();
|
|
31543
31543
|
if (openAiConfig.service === "azure") {
|