You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest that when NODE_ENV=development (orGENKIT_ENV=dev) .prompt files should be automatically reloaded from disk before each invocation. This would be beneficial for a few reasons:
We could stop rebooting the entire server when a .prompt file changes, speeding up iteration
There would be less chance of "stale prompts" which seems to happen to me relatively frequently though I'm not sure why
To accomplish this I think we need the proxy ref construct proposed in #513, but once we had that it would be pretty trivial.
The text was updated successfully, but these errors were encountered:
Update on this: see #744 which is honestly even more annoying than stale prompts because it actually breaks the flow of the server. Let's solve both of these problems.
I suggest that when
NODE_ENV=development
(orGENKIT_ENV=dev
).prompt
files should be automatically reloaded from disk before each invocation. This would be beneficial for a few reasons:.prompt
file changes, speeding up iterationTo accomplish this I think we need the proxy ref construct proposed in #513, but once we had that it would be pretty trivial.
The text was updated successfully, but these errors were encountered: