Make Tool.Name required to match other protocol types (#1351)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
This commit is contained in:
parent
fa56de9880
commit
9b5d0fe80a
1 changed files with 4 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ public sealed class Tool : IBaseMetadata
|
|||
{
|
||||
/// <inheritdoc />
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public required string Name { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
[JsonPropertyName("title")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue