Move prompt debug capture out of state

This commit is contained in:
2026-08-01 19:35:12 +00:00
parent 62a12dd661
commit b184ca7cbd
5 changed files with 13 additions and 8 deletions

View File

@@ -12,6 +12,7 @@ import (
"gitea.maximumdirect.net/eric/weatherreporter/internal/collect"
"gitea.maximumdirect.net/eric/weatherreporter/internal/config"
"gitea.maximumdirect.net/eric/weatherreporter/internal/promptdebug"
"gitea.maximumdirect.net/eric/weatherreporter/internal/promptexec"
"gitea.maximumdirect.net/eric/weatherreporter/internal/report"
"gitea.maximumdirect.net/eric/weatherreporter/internal/state"
@@ -494,7 +495,7 @@ func promptArtifactRequest(t *testing.T, executor promptexec.Executor) (promptRe
if err != nil {
t.Fatalf("Paths() error = %v", err)
}
debugWriter, err := state.NewPromptDebugWriter("")
debugWriter, err := promptdebug.NewPromptDebugWriter("")
if err != nil {
t.Fatalf("NewPromptDebugWriter() error = %v", err)
}