Remove warnings from build (#29)

* Remove warnings from build

* More fixes.

* Using const for transport types
This commit is contained in:
Toni Wenzel 2025-03-06 21:02:13 +01:00 • committed by GitHub
commit 7d69499ad5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,5 +16,5 @@ public class GetPromptResult
/// The prompt or prompt template that the server offers.
/// </summary>
[System.Text.Json.Serialization.JsonPropertyName("messages")]
public List<PromptMessage> Messages { get; set; } = new();
public List<PromptMessage> Messages { get; set; } = [];
}