Skip to content

Commit 289d300

Browse files
committed
chore(chat): stash
1 parent 244c2e1 commit 289d300

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/wizard/dto/open-agent-request.dto.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { IsBoolean, IsNotEmpty, IsOptional, IsString } from 'class-validator';
22
import {
33
PrivateSearchToolDto,
4-
ToolDto,
54
WebSearchToolDto,
65
} from 'omniboxd/wizard/dto/agent-request.dto';
76

src/wizard/open.wizard.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export class OpenWizardService {
109109
}
110110
}
111111

112-
return { messages };
112+
// return { messages };
113+
return { messages: [messages[messages.length - 1]] };
113114
}
114115
}

src/wizard/stream.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ export class StreamService {
343343
complete: () => {
344344
resolve(chunks);
345345
},
346-
error: (error) => {
346+
error: (error: Error) => {
347347
reject(error);
348348
},
349349
});

0 commit comments

Comments
 (0)