Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 9c16af7

Browse files
committed
Fix build
1 parent 9900c33 commit 9c16af7

File tree

3 files changed

+23
-14
lines changed

3 files changed

+23
-14
lines changed

packages/bytebot-agent/package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/bytebot-agent/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"@nestjs/websockets": "^11.1.1",
3636
"@prisma/client": "^6.6.0",
3737
"@thallesp/nestjs-better-auth": "^1.0.0",
38-
"class-transformer": "^0.5.1",
3938
"better-auth": "^1.3.2",
39+
"class-transformer": "^0.5.1",
4040
"class-validator": "^0.14.2",
4141
"openai": "^5.8.2",
4242
"reflect-metadata": "^0.2.2",
@@ -89,6 +89,11 @@
8989
"coverageDirectory": "../coverage",
9090
"testEnvironment": "node"
9191
},
92+
"overrides": {
93+
"openai": {
94+
"zod": "^4.0.5"
95+
}
96+
},
9297
"engines": {
9398
"node": "20"
9499
}

packages/bytebot-ui/src/app/page.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,20 @@ export default function Home() {
102102
try {
103103
if (!selectedModel) throw new Error("No model selected");
104104
// Send request to start a new task
105-
const taskData: any = {
105+
const taskData: {
106+
description: string;
107+
model: Model;
108+
files?: FileWithBase64[];
109+
} = {
106110
description: input,
107111
model: selectedModel,
108112
};
109-
113+
110114
// Include files if any are uploaded
111115
if (uploadedFiles.length > 0) {
112116
taskData.files = uploadedFiles;
113117
}
114-
118+
115119
const task = await startTask(taskData);
116120

117121
if (task && task.id) {

0 commit comments

Comments
 (0)