@wix/evalforge-types 0.46.0 → 0.47.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/build/index.js +7 -7
- package/build/index.js.map +2 -2
- package/build/index.mjs +6 -6
- package/build/index.mjs.map +2 -2
- package/build/types/common/models.d.ts +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -22,7 +22,7 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AGENT_TYPE_LABELS: () => AGENT_TYPE_LABELS,
|
|
24
24
|
ALL_AVAILABLE_MODEL_IDS: () => ALL_AVAILABLE_MODEL_IDS,
|
|
25
|
-
|
|
25
|
+
AVAILABLE_CLAUDE_MODEL_IDS: () => AVAILABLE_CLAUDE_MODEL_IDS,
|
|
26
26
|
AVAILABLE_OPENAI_MODEL_IDS: () => AVAILABLE_OPENAI_MODEL_IDS,
|
|
27
27
|
AVAILABLE_RUN_COMMANDS: () => AVAILABLE_RUN_COMMANDS,
|
|
28
28
|
AVAILABLE_TOOL_NAMES: () => AVAILABLE_TOOL_NAMES,
|
|
@@ -1119,17 +1119,17 @@ var WebhookIdentityType;
|
|
|
1119
1119
|
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
1120
1120
|
|
|
1121
1121
|
// src/common/models.ts
|
|
1122
|
-
var
|
|
1122
|
+
var AVAILABLE_CLAUDE_MODEL_IDS = Object.values(
|
|
1123
1123
|
ClaudeModel
|
|
1124
1124
|
).filter(
|
|
1125
1125
|
(v) => typeof v === "string" && v !== ClaudeModel.UNKNOWN_CLAUDE_MODEL
|
|
1126
1126
|
);
|
|
1127
1127
|
var PREFERRED_JUDGE_MODEL = "CLAUDE_4_5_HAIKU_1_0";
|
|
1128
|
-
var DEFAULT_JUDGE_MODEL =
|
|
1128
|
+
var DEFAULT_JUDGE_MODEL = AVAILABLE_CLAUDE_MODEL_IDS.includes(
|
|
1129
1129
|
PREFERRED_JUDGE_MODEL
|
|
1130
|
-
) ? PREFERRED_JUDGE_MODEL :
|
|
1130
|
+
) ? PREFERRED_JUDGE_MODEL : AVAILABLE_CLAUDE_MODEL_IDS[0];
|
|
1131
1131
|
var ClaudeModelSchema = import_zod4.z.enum(
|
|
1132
|
-
|
|
1132
|
+
AVAILABLE_CLAUDE_MODEL_IDS
|
|
1133
1133
|
);
|
|
1134
1134
|
var AVAILABLE_OPENAI_MODEL_IDS = Object.values(
|
|
1135
1135
|
Model
|
|
@@ -1140,7 +1140,7 @@ var OpenAIModelSchema = import_zod4.z.enum(
|
|
|
1140
1140
|
AVAILABLE_OPENAI_MODEL_IDS
|
|
1141
1141
|
);
|
|
1142
1142
|
var ALL_AVAILABLE_MODEL_IDS = [
|
|
1143
|
-
...
|
|
1143
|
+
...AVAILABLE_CLAUDE_MODEL_IDS,
|
|
1144
1144
|
...AVAILABLE_OPENAI_MODEL_IDS
|
|
1145
1145
|
];
|
|
1146
1146
|
var AnyModelSchema = import_zod4.z.enum(
|
|
@@ -2456,7 +2456,7 @@ function getSystemAssertion(id) {
|
|
|
2456
2456
|
0 && (module.exports = {
|
|
2457
2457
|
AGENT_TYPE_LABELS,
|
|
2458
2458
|
ALL_AVAILABLE_MODEL_IDS,
|
|
2459
|
-
|
|
2459
|
+
AVAILABLE_CLAUDE_MODEL_IDS,
|
|
2460
2460
|
AVAILABLE_OPENAI_MODEL_IDS,
|
|
2461
2461
|
AVAILABLE_RUN_COMMANDS,
|
|
2462
2462
|
AVAILABLE_TOOL_NAMES,
|