Refactor to remove defaults and unnecessary parameters

This commit is contained in:
Thorsten Sommer 2025-05-24 18:37:24 +02:00
parent 6f6993827e
commit d12432dc6c
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108
3 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,3 @@
using AIStudio.Tools.PluginSystem;
namespace AIStudio.Chat; namespace AIStudio.Chat;
/// <summary> /// <summary>

View File

@ -13,11 +13,11 @@ public sealed class ContentImage : IContent, IImageSource
/// <inheritdoc /> /// <inheritdoc />
[JsonIgnore] [JsonIgnore]
public bool InitialRemoteWait { get; set; } = false; public bool InitialRemoteWait { get; set; }
/// <inheritdoc /> /// <inheritdoc />
[JsonIgnore] [JsonIgnore]
public bool IsStreaming { get; set; } = false; public bool IsStreaming { get; set; }
/// <inheritdoc /> /// <inheritdoc />
[JsonIgnore] [JsonIgnore]

View File

@ -329,7 +329,7 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
if(this.ChatThread is null) if(this.ChatThread is null)
return; return;
await this.StartNewChat(true, false); await this.StartNewChat(true);
} }
private IReadOnlyList<DataSourceAgentSelected> GetAgentSelectedDataSources() private IReadOnlyList<DataSourceAgentSelected> GetAgentSelectedDataSources()