firebase / genkit

An open source framework for building AI-powered apps with familiar code-centric patterns. Genkit makes it easy to develop, integrate, and test AI features with observability and evaluations. Genkit works with various models and platforms.
Apache License 2.0
760 stars 114 forks source link

[Tooling] the flow runner loses previous input when runtime reconnects #1324

Open pavelgj opened 4 hours ago

tonybaroneee commented 3 hours ago

This is because we hard-refresh the page currently on actions reload. We're looking into a solution to not have to do that, but I bet monaco might still re-render once the actions array is hot-swapped back in, so input would still be lost anyways.

I think the broader solution here is leveraging localStorage to remember flow input + auth JSON (Denis in discord wanted something similar for flow auth to not have to keep re-inputting it on refresh).

MichaelDoyle commented 3 hours ago

Should this be combined with #1310?

MichaelDoyle commented 1 hour ago

See also: https://discord.com/channels/1255578482214305893/1306933277189341184