feat(agents): update types
This commit is contained in:
parent
e4faa82362
commit
8bb3e4f016
6 changed files with 7 additions and 6 deletions
|
|
@ -66,7 +66,7 @@ const basicAcademicSearchResponsePrompt = `
|
|||
const strParser = new StringOutputParser();
|
||||
|
||||
const handleStream = async (
|
||||
stream: AsyncGenerator<StreamEvent, any, unknown>,
|
||||
stream: IterableReadableStream<StreamEvent>,
|
||||
emitter: eventEmitter,
|
||||
) => {
|
||||
for await (const event of stream) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue