Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.55k stars 226 forks source link

[Bug]: Documented "Loops: Chatbot" example doesn't work #391

Open okdewit opened 2 months ago

okdewit commented 2 months ago

What happened?

In the documented example, the loop controller doesn't receive a default value for "message history".

I could only get the example to work by adding an empty array node to the default for data 1, so it gets seeded with [] rather than undefined.

What was the expected functionality?

Documented example doesn't work

Relevant screenshots

Fixed example:

image

abrenneke commented 2 months ago

Thanks for the report!