@wix/evalforge-types 0.33.0 → 0.34.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 +6 -0
- package/build/index.js.map +2 -2
- package/build/index.mjs +5 -0
- package/build/index.mjs.map +2 -2
- package/build/types/common/models.d.ts +1 -0
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -947,6 +947,7 @@ __export(index_exports, {
|
|
|
947
947
|
CreateTestScenarioInputSchema: () => CreateTestScenarioInputSchema,
|
|
948
948
|
CreateTestSuiteInputSchema: () => CreateTestSuiteInputSchema,
|
|
949
949
|
CustomAssertionSchema: () => CustomAssertionSchema,
|
|
950
|
+
DEFAULT_JUDGE_MODEL: () => DEFAULT_JUDGE_MODEL,
|
|
950
951
|
DiffContentSchema: () => DiffContentSchema,
|
|
951
952
|
DiffLineSchema: () => DiffLineSchema,
|
|
952
953
|
DiffLineTypeSchema: () => DiffLineTypeSchema,
|
|
@@ -1102,6 +1103,10 @@ var AVAILABLE_MODEL_IDS = Object.values(
|
|
|
1102
1103
|
).filter(
|
|
1103
1104
|
(v) => typeof v === "string" && v !== import_types.ClaudeModel.UNKNOWN_CLAUDE_MODEL
|
|
1104
1105
|
);
|
|
1106
|
+
var PREFERRED_JUDGE_MODEL = "CLAUDE_4_5_HAIKU_1_0";
|
|
1107
|
+
var DEFAULT_JUDGE_MODEL = AVAILABLE_MODEL_IDS.includes(
|
|
1108
|
+
PREFERRED_JUDGE_MODEL
|
|
1109
|
+
) ? PREFERRED_JUDGE_MODEL : AVAILABLE_MODEL_IDS[0];
|
|
1105
1110
|
var ClaudeModelSchema = import_zod4.z.enum(
|
|
1106
1111
|
AVAILABLE_MODEL_IDS
|
|
1107
1112
|
);
|
|
@@ -2248,6 +2253,7 @@ function getSystemAssertion(id) {
|
|
|
2248
2253
|
CreateTestScenarioInputSchema,
|
|
2249
2254
|
CreateTestSuiteInputSchema,
|
|
2250
2255
|
CustomAssertionSchema,
|
|
2256
|
+
DEFAULT_JUDGE_MODEL,
|
|
2251
2257
|
DiffContentSchema,
|
|
2252
2258
|
DiffLineSchema,
|
|
2253
2259
|
DiffLineTypeSchema,
|