feat(agents): update types

This commit is contained in:
ItzCrazyKns
2024-08-25 12:03:32 +05:30
parent e4faa82362
commit 8bb3e4f016
6 changed files with 7 additions and 6 deletions

View File

@ -65,7 +65,7 @@ const basicWolframAlphaSearchResponsePrompt = `
const strParser = new StringOutputParser();
const handleStream = async (
stream: AsyncGenerator<StreamEvent, any, unknown>,
stream: IterableReadableStream<StreamEvent>,
emitter: eventEmitter,
) => {
for await (const event of stream) {