diff --git a/pkg/runner/runner.go b/pkg/runner/runner.go index 2be8de02..6e637146 100644 --- a/pkg/runner/runner.go +++ b/pkg/runner/runner.go @@ -245,6 +245,6 @@ func recordStateMessage(state *engine.State) error { return err } - filename := filepath.Join(tmpdir, fmt.Sprintf("gptscript-state-%v-%v", hostname, time.Now().Unix())) + filename := filepath.Join(tmpdir, fmt.Sprintf("gptscript-state-%v-%v", hostname, time.Now().UnixMilli())) return os.WriteFile(filename, data, 0444) }