Skip to content
New issue

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

Keeps failing with Cannot read properties of undefined (reading 'toolCalls') #989

Open
astroyouth opened this issue Jan 3, 2025 · 4 comments

Comments

@astroyouth
Copy link

Describe the bug

The following route in a failed callback does not exist in the ai module. what can I do?
22:27:33 [vite] Internal server error: Cannot read properties of undefined (reading 'toolCalls')
at Object.flush (file:///C:/pinokio/api/bolt.git/app/node_modules/ai/core/generate-text/stream-text.ts:675:33)

the subdirectory core does not exist in ai.

Link to the Bolt URL that caused the error

http://localhost:5173/chat/6

Steps to reproduce

I installed Bolt from Pinokio and followed the getting started process. I get as far has a chat prompt but it errors out as soon as I send my first message
image

Expected behavior

To be able to send one message

Screen Recording / Screenshot

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Provider Used

chrome

Model Used

No response

Additional context

No response

@astroyouth
Copy link
Author

For got to add

[email protected] dev

@SBurmasS2
Copy link

same error here.
any fix?

@jaimedevelop
Copy link

I got the same error in many LLM having credit in my API, the only one that does not shows that error is Gemini.

@Locreine
Copy link

Locreine commented Jan 6, 2025

Same issue for me. Windows machine using Chrome,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants