Finalized chat templates (#475)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-05-24 19:11:28 +02:00
1 parent df062ae6e6
commit 9e207974e9
23 files changed
+830 -241

No files matched your search

+8 -11
View File
@@ -13,11 +13,11 @@ public sealed class ContentImage : IContent, IImageSource
/// <inheritdoc />
[JsonIgnore]
public bool InitialRemoteWait { get; set; } = false;
public bool InitialRemoteWait { get; set; }
/// <inheritdoc />
[JsonIgnore]
public bool IsStreaming { get; set; } = false;
public bool IsStreaming { get; set; }
/// <inheritdoc />
[JsonIgnore]
@@ -34,16 +34,13 @@ public sealed class ContentImage : IContent, IImageSource
}
/// <inheritdoc />
public IContent DeepClone()
public IContent DeepClone() => new ContentImage
{
return new ContentImage
{
Source = this.Source,
InitialRemoteWait = this.InitialRemoteWait,
IsStreaming = this.IsStreaming,
SourceType = this.SourceType,
};
}
Source = this.Source,
InitialRemoteWait = this.InitialRemoteWait,
IsStreaming = this.IsStreaming,
SourceType = this.SourceType,
};
#endregion