You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix 3 subagent-found bugs: trimmedPattern in search, Razor HTML escaping, whitespace-only type guard
- BookListingTool.cs: use trimmedPattern (not pattern) in Contains() search call
- Index.cshtml: fix Razor HTML escaping of optional badge via @if block
- BookGuidelinesTool.cs: use IsNullOrWhiteSpace guard for type param
- BookGuidelinesTool.cs: fix description to say substring match not exact text
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Description("Retrieve C# coding guidelines from the Essential C# book. Filter by keyword (exact text match), chapter number, or guideline type. Use the 'topic' parameter for relevance-ranked discovery by concept (e.g., 'exception handling', 'naming', 'async'). Each guideline includes its chapter and subsection context. Tip: use 'topic' for broad discovery; use 'keyword' for precise text matching.")]
21
+
Description("Retrieve C# coding guidelines from the Essential C# book. Filter by keyword (case-insensitive substring match), chapter number, or guideline type. Use the 'topic' parameter for relevance-ranked discovery by concept (e.g., 'exception handling', 'naming', 'async'). Each guideline includes its chapter and subsection context. Tip: use 'topic' for broad discovery; use 'keyword' for precise substring matching.")]
22
22
publicstringGetCSharpGuidelines(
23
-
[Description("Optional keyword for exact-text search in guideline text and subsection name.")]string?keyword=null,
23
+
[Description("Optional keyword for case-insensitive substring search in guideline text and subsection name.")]string?keyword=null,
24
24
[Description("Optional chapter number to restrict results to a specific chapter.")]int?chapter=null,
[Description("Optional topic or concept for relevance-ranked search (e.g., 'exception handling', 'naming', 'async'). Results are ordered by relevance. Use for broad discovery; use 'keyword' for exact text matching.")]string?topic=null,
26
+
[Description("Optional topic or concept for relevance-ranked search (e.g., 'exception handling', 'naming', 'async'). Results are ordered by relevance. Use for broad discovery; use 'keyword' for substring text matching.")]string?topic=null,
27
27
[Description("Maximum number of guidelines to return (1–50).")]intmaxResults=20)
0 commit comments