Commit 9116a4e
committed
fix(eval): restore any-typing on ai-sdk onStepFinish params for mixed-zod workspace
CI typecheck on the merge commit failed in the eval package: the
onStepFinish destructure inherited from main resolves to implicit-any
under this branch's workspace where the cockpit pins zod v4 and the
server pins zod v3, so the ai-sdk generate() option type widens. Re-
introduce the explicit `any` annotations + biome-ignore comments that
the branch carried before the merge took main's cleaner shape; the
runtime contract is unchanged.
Single-agent.ts: `onStepFinish: async (step: any)` with biome-ignore.
Tool-loop-executor-backend.ts: typed destructure literal with two
biome-ignores on the toolCalls and toolResults any fields.1 parent d3c9948 commit 9116a4e
2 files changed
Lines changed: 17 additions & 2 deletions
File tree
- packages/browseros-agent/apps/eval/src/agents
- orchestrated/backends/tool-loop
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
66 | 80 | | |
67 | 81 | | |
68 | 82 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
0 commit comments