Initial commit to new repository
This commit is contained in:
21
.decompiledproj/AxCopilot/Services/Agent/ToolProperty.cs
Normal file
21
.decompiledproj/AxCopilot/Services/Agent/ToolProperty.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AxCopilot.Services.Agent;
|
||||
|
||||
public class ToolProperty
|
||||
{
|
||||
[JsonPropertyName("type")]
|
||||
public string Type { get; init; } = "string";
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
public string Description { get; init; } = "";
|
||||
|
||||
[JsonPropertyName("enum")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public List<string>? Enum { get; init; }
|
||||
|
||||
[JsonPropertyName("items")]
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public ToolProperty? Items { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user