mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 07:24:35 +00:00
Moved temporary files into a folder of their own below the data directory (#1245)
This commit is contained in:
1 parent
ddfc632b63
commit
12d3e1ec6c
52 files changed
+1219
-396
No files matched your search
@@ -376,10 +376,7 @@ public sealed class BflMaterialService(BeyondFactsLabStore store, RustService ru
|
||||
return FileExtractionResult.Failed(FileExtractionErrorCode.INVALID_REQUEST, "No transcription provider may hear the recordings of the BeyondFacts Lab.");
|
||||
}
|
||||
|
||||
if (SettingsManager.DataDirectory is not { } dataDirectory)
|
||||
return FileExtractionResult.Failed(FileExtractionErrorCode.INTERNAL, "The data directory of AI Studio is not known yet.");
|
||||
|
||||
var location = new BflTranscriptLocation(dataDirectory);
|
||||
var location = new BflTranscriptLocation();
|
||||
try
|
||||
{
|
||||
var transcript = await PersistentMediaTranscript.ReadOrCreateAsync(location, path, provider, mediaTranscriptionService.TranscribeAsync, logger, CancellationToken.None);
|
||||
|
||||
Reference in new issue
Block a user