Add files via upload

This commit is contained in:
公明
2026-07-11 11:21:15 +08:00
committed by GitHub
parent 722806797f
commit 79d162ccb4
+3
View File
@@ -157,6 +157,9 @@ func newEinoSummarizationMiddleware(
baseRoot = filepath.Join(filepath.Dir(dbPath), "conversation_artifacts", sanitizeEinoPathSegment(conv), "summarization")
}
base := baseRoot
if abs, err := filepath.Abs(base); err == nil {
base = abs
}
if mkErr := os.MkdirAll(base, 0o755); mkErr == nil {
transcriptPath = filepath.Join(base, "transcript.txt")
}