190proof 1.0.24 → 1.0.26
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -74,4 +74,4 @@ interface GenericPayload {
|
|
|
74
74
|
|
|
75
75
|
declare function callWithRetries(identifier: string, aiPayload: GenericPayload, aiConfig?: OpenAIConfig | AnthropicAIConfig, retries?: number, chunkTimeoutMs?: number): Promise<ParsedResponseMessage>;
|
|
76
76
|
|
|
77
|
-
export { ClaudeModel, type FunctionDefinition, GPTModel, type GenericMessage, type GenericPayload, GroqModel, type OpenAIConfig, callWithRetries };
|
|
77
|
+
export { ClaudeModel, type FunctionDefinition, GPTModel, GeminiModel, type GenericMessage, type GenericPayload, GroqModel, type OpenAIConfig, callWithRetries };
|
package/dist/index.d.ts
CHANGED
|
@@ -74,4 +74,4 @@ interface GenericPayload {
|
|
|
74
74
|
|
|
75
75
|
declare function callWithRetries(identifier: string, aiPayload: GenericPayload, aiConfig?: OpenAIConfig | AnthropicAIConfig, retries?: number, chunkTimeoutMs?: number): Promise<ParsedResponseMessage>;
|
|
76
76
|
|
|
77
|
-
export { ClaudeModel, type FunctionDefinition, GPTModel, type GenericMessage, type GenericPayload, GroqModel, type OpenAIConfig, callWithRetries };
|
|
77
|
+
export { ClaudeModel, type FunctionDefinition, GPTModel, GeminiModel, type GenericMessage, type GenericPayload, GroqModel, type OpenAIConfig, callWithRetries };
|
package/dist/index.js
CHANGED
|
@@ -27015,6 +27015,7 @@ var proof_exports = {};
|
|
|
27015
27015
|
__export(proof_exports, {
|
|
27016
27016
|
ClaudeModel: () => ClaudeModel,
|
|
27017
27017
|
GPTModel: () => GPTModel,
|
|
27018
|
+
GeminiModel: () => GeminiModel,
|
|
27018
27019
|
GroqModel: () => GroqModel,
|
|
27019
27020
|
callWithRetries: () => callWithRetries
|
|
27020
27021
|
});
|
|
@@ -32027,7 +32028,8 @@ async function prepareAnthropicPayload(payload) {
|
|
|
32027
32028
|
const preparedPayload = {
|
|
32028
32029
|
model: payload.model,
|
|
32029
32030
|
messages: [],
|
|
32030
|
-
functions: payload.functions
|
|
32031
|
+
functions: payload.functions,
|
|
32032
|
+
temperature: payload.temperature
|
|
32031
32033
|
};
|
|
32032
32034
|
for (const message of payload.messages) {
|
|
32033
32035
|
const anthropicContentBlocks = [];
|
|
@@ -32241,6 +32243,7 @@ async function getNormalizedBase64PNG(url2, mime) {
|
|
|
32241
32243
|
0 && (module.exports = {
|
|
32242
32244
|
ClaudeModel,
|
|
32243
32245
|
GPTModel,
|
|
32246
|
+
GeminiModel,
|
|
32244
32247
|
GroqModel,
|
|
32245
32248
|
callWithRetries
|
|
32246
32249
|
});
|