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
{{ message }}
Repository navigation
Prompt occurs multiple times if re-used in request #118
This is a tough one to fix because each template render is executed independently and in parallel during request build. The solution would probably be to scan all parsed templates at the start of the request, and collect all used chains into a de-duplicated pool. Then resolve those chain values first, before finally rendering the templates themselves. This has the added benefit of de-duplicating other chain types too (e.g. if a slow shell command is chained, it won't have to execute multiple times).
It's very possible, just requires rearchitecting the template code a fair amount.
Activity
Deduplicate chains during render
Deduplicate chains during render
Deduplicate chains during render
Deduplicate chains during render
Deduplicate chains during render