AI action panel improvements.
This commit is contained in:
@@ -67,6 +67,21 @@ public interface IPreferencesService : INotifyPropertyChanged
|
||||
/// </summary>
|
||||
bool IsWinoAccountButtonHidden { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Setting: Default target language code used for AI translation actions.
|
||||
/// </summary>
|
||||
string AiDefaultTranslationLanguageCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Setting: Preferred target language code for AI summarize actions.
|
||||
/// </summary>
|
||||
string AiSummarizeLanguageCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Setting: Preferred folder path used when saving AI summaries.
|
||||
/// </summary>
|
||||
string AiSummarySavePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Serializes the current syncable preferences snapshot.
|
||||
/// </summary>
|
||||
|
||||
@@ -19,7 +19,7 @@ public interface IWinoAccountApiClient
|
||||
Task<ApiEnvelope<JsonElement>> LogoutAsync(string refreshToken, CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AuthUserDto>> GetCurrentUserAsync(CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AiStatusResultDto>> GetAiStatusAsync(CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AiTextResultDto>> SummarizeAsync(string html, CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AiTextResultDto>> SummarizeAsync(string html, string targetLanguage, CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AiTextResultDto>> TranslateAsync(string html, string targetLanguage, CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AiTextResultDto>> RewriteAsync(string html, string mode, CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<WinoStoreCollectionsIdTicketInfo>> CreateCollectionsIdTicketAsync(CancellationToken cancellationToken = default);
|
||||
|
||||
@@ -24,7 +24,7 @@ public interface IWinoAccountProfileService
|
||||
Task<bool> HasActiveAccountAsync();
|
||||
Task<ApiEnvelope<AuthUserDto>> GetCurrentUserAsync(CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AiStatusResultDto>> GetAiStatusAsync(CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AiTextResultDto>> SummarizeAsync(string html, CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AiTextResultDto>> SummarizeAsync(string html, string targetLanguage, CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AiTextResultDto>> TranslateAsync(string html, string targetLanguage, CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<AiTextResultDto>> RewriteAsync(string html, string mode, CancellationToken cancellationToken = default);
|
||||
Task<ApiEnvelope<JsonElement>> SyncStoreEntitlementsAsync(CancellationToken cancellationToken = default);
|
||||
|
||||
Reference in New Issue
Block a user