Skip to content

Commit 2bf11bb

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 8d34456 commit 2bf11bb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Service.Tests/Mcp/DynamicCustomToolTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,7 @@ public void InitializeMetadata_ExcludesParamsWithDefaultsOrOptionalFlag_FromRequ
746746
{
747747
["id"] = new() { SystemType = typeof(int) },
748748
["title"] = new() { SystemType = typeof(string), HasConfigDefault = true, ConfigDefaultValue = "randomX" },
749+
["category"] = new() { SystemType = typeof(string), Required = true, HasConfigDefault = true, ConfigDefaultValue = "defaultCategory" },
749750
["publisher_id"] = new() { SystemType = typeof(int), Required = false }
750751
};
751752

0 commit comments

Comments
 (0)