rivet icon indicating copy to clipboard operation
rivet copied to clipboard

[Bug]: Node.js executor always crashes if using image + google (chat)

Open ai-made-approachable opened this issue 1 year ago • 3 comments

What happened?

Node.js executor always crashes if using image + google (chat); see screenshot attached. As a user that means that you cannot even abort the run of the graph (button missing).

What was the expected functionality?

  • Node.js executor does not crash
  • "Abort" button will still be available even if node.js executor crashes
  • After you aborted the graph Rivet will automatically start a new node.js executor so you don't have to restart the program

Describe your environment

MacOS, Node 14.0.0, etc.

Relevant log output

No response

Relevant screenshots

image

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

ai-made-approachable avatar Jan 13 '24 08:01 ai-made-approachable

I'll take a look at this in a bit. I need to setup a Google account, etc. to work on it.

codemile avatar Jan 16 '24 14:01 codemile

@ai-made-approachable can you upload the image you used to test this with? I cannot reproduce this on Rivet 1.7.5, and I wonder if the issue is perhaps that you used a very large image.

gogwilt avatar Jan 22 '24 23:01 gogwilt

@gogwilt : I can also not reproduce it on 1.7.5 anymore. Now everything executes much quicker and then only google fails with a response: "Error: Error processing ChatGoogleNode: Error processing stream because response === undefined"

ai-made-approachable avatar Jan 23 '24 17:01 ai-made-approachable