@wix/evalforge-types 0.85.0 → 0.86.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 CHANGED
@@ -392,13 +392,10 @@ function normalizeModelId(modelId) {
392
392
  var nullToUndefined = (val) => val === null ? void 0 : val;
393
393
  var ModelConfigSchema = import_zod4.z.object({
394
394
  model: AnyModelSchema,
395
- temperature: import_zod4.z.preprocess(
396
- nullToUndefined,
397
- import_zod4.z.number().min(0).max(1).optional()
398
- ),
399
- maxTokens: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().min(1).optional()),
395
+ temperature: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().min(0).max(1).optional()).optional(),
396
+ maxTokens: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().min(1).optional()).optional(),
400
397
  /** Number of agentic turns. 0 = unlimited (agent runs until done or timeout). */
401
- maxTurns: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().int().min(0).optional())
398
+ maxTurns: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().int().min(0).optional()).optional()
402
399
  });
403
400
 
404
401
  // src/common/rule.ts