Skip to content

Commit fa29454

Browse files
committed
Cleanup: remove unused files, debug code, and workflow noise
1 parent e1c94fa commit fa29454

3 files changed

Lines changed: 0 additions & 66 deletions

File tree

.github/workflows/Stability Matrix AI Build

Lines changed: 0 additions & 37 deletions
This file was deleted.

StabilityMatrix.Avalonia/ViewModels/Inference/InferenceWanTextToVideoViewModel.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using StabilityMatrix.Core.Attributes;
1111
using StabilityMatrix.Core.Models;
1212
using StabilityMatrix.Core.Services;
13-
git status
1413

1514
namespace StabilityMatrix.Avalonia.ViewModels.Inference;
1615

StabilityMatrix.Core/Inference/ComfyClient.cs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -333,33 +333,6 @@ public async Task<ComfyTask> QueuePromptAsync(
333333
{
334334
var request = new ComfyPromptRequest { ClientId = ClientId, Prompt = nodes };
335335

336-
// DEBUG: dump final workflow JSON
337-
try
338-
{
339-
var json = JsonSerializer.Serialize(request, jsonSerializerOptions);
340-
341-
var debugDir = Path.Combine(
342-
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
343-
"StabilityMatrix",
344-
"Debug"
345-
);
346-
347-
Directory.CreateDirectory(debugDir);
348-
349-
var path = Path.Combine(
350-
debugDir,
351-
$"wan_workflow_debug_request.json"
352-
);
353-
354-
File.WriteAllText(path, json);
355-
356-
Logger.Warn("WAN DEBUG: Dumped final request JSON to {0}", path);
357-
}
358-
catch (Exception ex)
359-
{
360-
Logger.Error(ex, "WAN DEBUG: Failed to dump final request JSON");
361-
}
362-
363336
var result = await comfyApi.PostPrompt(request, cancellationToken).ConfigureAwait(false);
364337

365338
var task = new ComfyTask(result.PromptId);
@@ -368,7 +341,6 @@ public async Task<ComfyTask> QueuePromptAsync(
368341

369342
return task;
370343
}
371-
372344
public async Task InterruptPromptAsync(CancellationToken cancellationToken = default)
373345
{
374346
await comfyApi.PostInterrupt(cancellationToken).ConfigureAwait(false);

0 commit comments

Comments
 (0)