modality-ai 0.7.3 → 0.7.4
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.js +6 -5
- package/dist/types/const.d.ts +4 -0
- package/dist/types/util_ai_model.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -126898,6 +126898,12 @@ ${contentString}
|
|
|
126898
126898
|
}
|
|
126899
126899
|
}
|
|
126900
126900
|
|
|
126901
|
+
// src/const.ts
|
|
126902
|
+
var GeminiDefaultModels = [
|
|
126903
|
+
"gemini-3.1-flash-lite",
|
|
126904
|
+
"gemini-3.1-flash-lite-preview"
|
|
126905
|
+
];
|
|
126906
|
+
|
|
126901
126907
|
// src/util_ai_model.ts
|
|
126902
126908
|
var evictKey = [];
|
|
126903
126909
|
function getRandomApiKey(baseKeyName, keyCount) {
|
|
@@ -126972,11 +126978,6 @@ class OllamaProvider {
|
|
|
126972
126978
|
}
|
|
126973
126979
|
}
|
|
126974
126980
|
}
|
|
126975
|
-
var GeminiDefaultModels = [
|
|
126976
|
-
"gemini-3-flash",
|
|
126977
|
-
"gemini-3.1-flash-lite",
|
|
126978
|
-
"gemini-flash-latest"
|
|
126979
|
-
];
|
|
126980
126981
|
|
|
126981
126982
|
class GeminiProvider {
|
|
126982
126983
|
config;
|
|
@@ -63,6 +63,9 @@ export declare class OllamaProvider implements AIProviderInterface {
|
|
|
63
63
|
*/
|
|
64
64
|
chat(messages: ModelMessage[], options?: ChatOptions): Promise<ChatResponse>;
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* Gemini AI Provider Implementation
|
|
68
|
+
*/
|
|
66
69
|
export declare class GeminiProvider implements AIProviderInterface {
|
|
67
70
|
private config;
|
|
68
71
|
private model;
|
package/package.json
CHANGED