Skip to content

Commit 2be0919

Browse files
committed
use zod 3 syntax on the template
1 parent 7e4d5e1 commit 2be0919

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

evals/src/autoevals.eval.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
coqaCaseSchema,
88
dataDir,
99
} from "./datasets";
10-
import { z } from "zod";
10+
import { z } from "zod/v3";
1111
import {
1212
AnswerCorrectness,
1313
ClosedQA,

evals/src/datasets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { z } from "zod";
1+
import { z } from "zod/v3";
22

33
import path from "path";
44

evals/src/sync_datasets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { duckq, getDuckDBConn } from "./duckdb";
22

3-
import { z } from "zod";
3+
import { z } from "zod/v3";
44
import {
55
coqaSchema,
66
dataDir,

js/templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { z } from "zod";
1+
import { z } from "zod/v3";
22
import * as yaml from "js-yaml";
33

44
import battle from "../templates/battle.yaml";

0 commit comments

Comments
 (0)