diff --git a/cmd/status.go b/cmd/status.go index b653f87..6935197 100644 --- a/cmd/status.go +++ b/cmd/status.go @@ -242,7 +242,7 @@ func dryRunHandler(cmd *cobra.Command, args []string) error { defer store.Close() // Try cache first - cachedGraph, fresh, _, _, err := store.Get(proj.Hash) + cachedGraph, fresh, expiresAt, _, err := store.Get(proj.Hash) if err != nil { return fmt.Errorf("reading cache: %w", err) } @@ -256,6 +256,7 @@ func dryRunHandler(cmd *cobra.Command, args []string) error { opts := tmpl.RenderOptions{ MaxTokens: maxTokens, Stale: !fresh, + StaleAt: expiresAt, WorkingMemory: wm, } output, tokens, err := tmpl.Render(cachedGraph, proj.Name, opts)