You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
526 B
22 lines
526 B
using System; |
|
using System.Collections.Generic; |
|
using System.Diagnostics.CodeAnalysis; |
|
using System.Threading.Tasks; |
|
using StabilityMatrix.Core.Inference; |
|
|
|
namespace StabilityMatrix.Avalonia.Services; |
|
|
|
public interface IInferenceClientManager : IDisposable |
|
{ |
|
ComfyClient? Client { get; set; } |
|
|
|
[MemberNotNullWhen(true, nameof(Client))] |
|
bool IsConnected { get; } |
|
|
|
List<string>? ModelNames { get; set; } |
|
List<string>? Samplers { get; set; } |
|
|
|
Task ConnectAsync(); |
|
|
|
Task CloseAsync(); |
|
}
|
|
|