indusagi 0.13.3 → 0.13.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/agent.js +36 -0
- package/dist/ai.js +36 -0
- package/dist/types/facade/ml/models.generated.d.ts +42 -0
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -12018,6 +12018,42 @@ var MODELS = {
|
|
|
12018
12018
|
},
|
|
12019
12019
|
contextWindow: 2e5,
|
|
12020
12020
|
maxTokens: 32768
|
|
12021
|
+
},
|
|
12022
|
+
"glm-5.1": {
|
|
12023
|
+
id: "glm-5.1",
|
|
12024
|
+
name: "GLM-5.1",
|
|
12025
|
+
api: "openai-completions",
|
|
12026
|
+
provider: "zai",
|
|
12027
|
+
baseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
12028
|
+
compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
|
|
12029
|
+
reasoning: true,
|
|
12030
|
+
input: ["text"],
|
|
12031
|
+
cost: {
|
|
12032
|
+
input: 1.4,
|
|
12033
|
+
output: 4.4,
|
|
12034
|
+
cacheRead: 0.26,
|
|
12035
|
+
cacheWrite: 0
|
|
12036
|
+
},
|
|
12037
|
+
contextWindow: 1e6,
|
|
12038
|
+
maxTokens: 131072
|
|
12039
|
+
},
|
|
12040
|
+
"glm-5.2": {
|
|
12041
|
+
id: "glm-5.2",
|
|
12042
|
+
name: "GLM-5.2",
|
|
12043
|
+
api: "openai-completions",
|
|
12044
|
+
provider: "zai",
|
|
12045
|
+
baseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
12046
|
+
compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
|
|
12047
|
+
reasoning: true,
|
|
12048
|
+
input: ["text"],
|
|
12049
|
+
cost: {
|
|
12050
|
+
input: 1.4,
|
|
12051
|
+
output: 4.4,
|
|
12052
|
+
cacheRead: 0.26,
|
|
12053
|
+
cacheWrite: 0
|
|
12054
|
+
},
|
|
12055
|
+
contextWindow: 1e6,
|
|
12056
|
+
maxTokens: 131072
|
|
12021
12057
|
}
|
|
12022
12058
|
},
|
|
12023
12059
|
// Sarvam AI — OpenAI-compatible chat completions API
|
package/dist/ai.js
CHANGED
|
@@ -12142,6 +12142,42 @@ var MODELS = {
|
|
|
12142
12142
|
},
|
|
12143
12143
|
contextWindow: 2e5,
|
|
12144
12144
|
maxTokens: 32768
|
|
12145
|
+
},
|
|
12146
|
+
"glm-5.1": {
|
|
12147
|
+
id: "glm-5.1",
|
|
12148
|
+
name: "GLM-5.1",
|
|
12149
|
+
api: "openai-completions",
|
|
12150
|
+
provider: "zai",
|
|
12151
|
+
baseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
12152
|
+
compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
|
|
12153
|
+
reasoning: true,
|
|
12154
|
+
input: ["text"],
|
|
12155
|
+
cost: {
|
|
12156
|
+
input: 1.4,
|
|
12157
|
+
output: 4.4,
|
|
12158
|
+
cacheRead: 0.26,
|
|
12159
|
+
cacheWrite: 0
|
|
12160
|
+
},
|
|
12161
|
+
contextWindow: 1e6,
|
|
12162
|
+
maxTokens: 131072
|
|
12163
|
+
},
|
|
12164
|
+
"glm-5.2": {
|
|
12165
|
+
id: "glm-5.2",
|
|
12166
|
+
name: "GLM-5.2",
|
|
12167
|
+
api: "openai-completions",
|
|
12168
|
+
provider: "zai",
|
|
12169
|
+
baseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
12170
|
+
compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
|
|
12171
|
+
reasoning: true,
|
|
12172
|
+
input: ["text"],
|
|
12173
|
+
cost: {
|
|
12174
|
+
input: 1.4,
|
|
12175
|
+
output: 4.4,
|
|
12176
|
+
cacheRead: 0.26,
|
|
12177
|
+
cacheWrite: 0
|
|
12178
|
+
},
|
|
12179
|
+
contextWindow: 1e6,
|
|
12180
|
+
maxTokens: 131072
|
|
12145
12181
|
}
|
|
12146
12182
|
},
|
|
12147
12183
|
// Sarvam AI — OpenAI-compatible chat completions API
|
|
@@ -11991,6 +11991,48 @@ export declare const MODELS: {
|
|
|
11991
11991
|
contextWindow: number;
|
|
11992
11992
|
maxTokens: number;
|
|
11993
11993
|
};
|
|
11994
|
+
readonly "glm-5.1": {
|
|
11995
|
+
id: string;
|
|
11996
|
+
name: string;
|
|
11997
|
+
api: "openai-completions";
|
|
11998
|
+
provider: string;
|
|
11999
|
+
baseUrl: string;
|
|
12000
|
+
compat: {
|
|
12001
|
+
supportsDeveloperRole: false;
|
|
12002
|
+
thinkingFormat: "zai";
|
|
12003
|
+
};
|
|
12004
|
+
reasoning: true;
|
|
12005
|
+
input: "text"[];
|
|
12006
|
+
cost: {
|
|
12007
|
+
input: number;
|
|
12008
|
+
output: number;
|
|
12009
|
+
cacheRead: number;
|
|
12010
|
+
cacheWrite: number;
|
|
12011
|
+
};
|
|
12012
|
+
contextWindow: number;
|
|
12013
|
+
maxTokens: number;
|
|
12014
|
+
};
|
|
12015
|
+
readonly "glm-5.2": {
|
|
12016
|
+
id: string;
|
|
12017
|
+
name: string;
|
|
12018
|
+
api: "openai-completions";
|
|
12019
|
+
provider: string;
|
|
12020
|
+
baseUrl: string;
|
|
12021
|
+
compat: {
|
|
12022
|
+
supportsDeveloperRole: false;
|
|
12023
|
+
thinkingFormat: "zai";
|
|
12024
|
+
};
|
|
12025
|
+
reasoning: true;
|
|
12026
|
+
input: "text"[];
|
|
12027
|
+
cost: {
|
|
12028
|
+
input: number;
|
|
12029
|
+
output: number;
|
|
12030
|
+
cacheRead: number;
|
|
12031
|
+
cacheWrite: number;
|
|
12032
|
+
};
|
|
12033
|
+
contextWindow: number;
|
|
12034
|
+
maxTokens: number;
|
|
12035
|
+
};
|
|
11994
12036
|
};
|
|
11995
12037
|
readonly sarvam: {
|
|
11996
12038
|
readonly "sarvam-30b": {
|