@tangle-network/agent-eval 0.57.0 → 0.58.0
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.ts +1 -1
- package/dist/index.js +13 -2
- package/dist/index.js.map +1 -1
- package/dist/openapi.json +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1268,7 +1268,7 @@ declare function assertSingleBackend(agent: BackendDescriptor, judge: BackendDes
|
|
|
1268
1268
|
* replaces the per-consumer copies (tax/legal/creative/gtm each ship one).
|
|
1269
1269
|
*/
|
|
1270
1270
|
/** Provider family a model belongs to. `unknown` when no rule matches. */
|
|
1271
|
-
type JudgeFamily = 'anthropic' | 'openai' | 'google' | 'meta' | 'mistral' | 'deepseek' | 'xai' | 'qwen' | 'cohere' | 'amazon' | 'unknown';
|
|
1271
|
+
type JudgeFamily = 'anthropic' | 'openai' | 'google' | 'meta' | 'mistral' | 'deepseek' | 'xai' | 'qwen' | 'cohere' | 'amazon' | 'moonshot' | 'zhipu' | 'unknown';
|
|
1272
1272
|
/**
|
|
1273
1273
|
* Classify a model id into its provider family. Strips a `@snapshot` suffix
|
|
1274
1274
|
* and prefers an explicit `provider/...` prefix; otherwise matches the model
|
package/dist/index.js
CHANGED
|
@@ -3661,7 +3661,16 @@ var PROVIDER_PREFIX = {
|
|
|
3661
3661
|
alibaba: "qwen",
|
|
3662
3662
|
cohere: "cohere",
|
|
3663
3663
|
amazon: "amazon",
|
|
3664
|
-
bedrock: "amazon"
|
|
3664
|
+
bedrock: "amazon",
|
|
3665
|
+
moonshot: "moonshot",
|
|
3666
|
+
moonshotai: "moonshot",
|
|
3667
|
+
kimi: "moonshot",
|
|
3668
|
+
"kimi-code": "moonshot",
|
|
3669
|
+
zhipu: "zhipu",
|
|
3670
|
+
zhipuai: "zhipu",
|
|
3671
|
+
zai: "zhipu",
|
|
3672
|
+
"z-ai": "zhipu",
|
|
3673
|
+
glm: "zhipu"
|
|
3665
3674
|
};
|
|
3666
3675
|
var NAME_PATTERNS = [
|
|
3667
3676
|
[/claude/i, "anthropic"],
|
|
@@ -3673,7 +3682,9 @@ var NAME_PATTERNS = [
|
|
|
3673
3682
|
[/grok/i, "xai"],
|
|
3674
3683
|
[/qwen/i, "qwen"],
|
|
3675
3684
|
[/command-?(r|a)?/i, "cohere"],
|
|
3676
|
-
[/\b(nova|titan)\b/i, "amazon"]
|
|
3685
|
+
[/\b(nova|titan)\b/i, "amazon"],
|
|
3686
|
+
[/\bkimi\b|moonshot/i, "moonshot"],
|
|
3687
|
+
[/\bglm\b|zhipu|\bz-?ai\b/i, "zhipu"]
|
|
3677
3688
|
];
|
|
3678
3689
|
function judgeFamily(modelId) {
|
|
3679
3690
|
const id = modelId.trim().split("@")[0].toLowerCase();
|