mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-07-14 07:57:26 +02:00
Add files via upload
This commit is contained in:
@@ -157,6 +157,9 @@ func newEinoSummarizationMiddleware(
|
|||||||
baseRoot = filepath.Join(filepath.Dir(dbPath), "conversation_artifacts", sanitizeEinoPathSegment(conv), "summarization")
|
baseRoot = filepath.Join(filepath.Dir(dbPath), "conversation_artifacts", sanitizeEinoPathSegment(conv), "summarization")
|
||||||
}
|
}
|
||||||
base := baseRoot
|
base := baseRoot
|
||||||
|
if abs, err := filepath.Abs(base); err == nil {
|
||||||
|
base = abs
|
||||||
|
}
|
||||||
if mkErr := os.MkdirAll(base, 0o755); mkErr == nil {
|
if mkErr := os.MkdirAll(base, 0o755); mkErr == nil {
|
||||||
transcriptPath = filepath.Join(base, "transcript.txt")
|
transcriptPath = filepath.Join(base, "transcript.txt")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user