We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there 👋,
First, thank you for creating this amazing library!
I encountered an error when using the fromTextStream function. Here’s the stack trace:
fromTextStream
TypeError: Cannot read properties of undefined (reading 'Symbol(Symbol.asyncIterator)') at eval (webpack-internal:///(action-browser)/./node_modules/.pnpm/@statelyai+agent@1.1.5_openai@4.63.0_zod@3.23.8__react@18.3.1_sswr@2.1.0_svelte@4.2.19__svelt_ugsjaykaivjxi2ewh7imf5h4te/node_modules/@statelyai/agent/dist/index.mjs:204:39) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ⨯ unhandledRejection: TypeError: Cannot read properties of undefined (reading 'Symbol(Symbol.asyncIterator)') at eval (webpack-internal:///(action-browser)/./node_modules/.pnpm/@statelyai+agent@1.1.5_openai@4.63.0_zod@3.23.8__react@18.3.1_sswr@2.1.0_svelte@4.2.19__svelt_ugsjaykaivjxi2ewh7imf5h4te/node_modules/@statelyai/agent/dist/index.mjs:204:39) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ⨯ unhandledRejection: TypeError: Cannot read properties of undefined (reading 'Symbol(Symbol.asyncIterator)') at eval (webpack-internal:///(action-browser)/./node_modules/.pnpm/@statelyai+agent@1.1.5_openai@4.63.0_zod@3.23.8__react@18.3.1_sswr@2.1.0_svelte@4.2.19__svelt_ugsjaykaivjxi2ewh7imf5h4te/node_modules/@statelyai/agent/dist/index.mjs:204:39)
The error occurs when trying to read Symbol(Symbol.asyncIterator), which appears to be undefined.
Symbol(Symbol.asyncIterator)
Steps to reproduce:
gameReporter
Additionally, I get the same error when using the agent.streamText() method.
agent.streamText()
What’s interesting is that calling streamText from the vercel 'ai' package works correctly.
streamText
Do you have any suggestions on how to resolve this, or is this potentially a bug?
Thanks again for your time and support!
The text was updated successfully, but these errors were encountered:
This may be a bug. The latest release is not up-to-date with the latest AI SDK, which may be what is causing problems.
Does it happen all the time?
Sorry, something went wrong.
I identified the issue and have submitted a pull request to resolve it. (Note: this was originally reported using my other account.)
No branches or pull requests
Hi there 👋,
First, thank you for creating this amazing library!
I encountered an error when using the
fromTextStream
function. Here’s the stack trace:The error occurs when trying to read
Symbol(Symbol.asyncIterator)
, which appears to be undefined.Steps to reproduce:
gameReporter
.Additionally, I get the same error when using the
agent.streamText()
method.What’s interesting is that calling
streamText
from the vercel 'ai' package works correctly.Do you have any suggestions on how to resolve this, or is this potentially a bug?
Thanks again for your time and support!
The text was updated successfully, but these errors were encountered: