We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d24bd31 commit 2a2212fCopy full SHA for 2a2212f
shell/AIShell.Kernel/MCP/McpManager.cs
@@ -81,7 +81,7 @@ internal async Task<List<AIFunction>> ListAvailableTools()
81
await _initTask;
82
83
List<AIFunction> tools = null;
84
- if (_builtInTools.Count > 0)
+ if (_builtInTools is { Count: > 0 })
85
{
86
(tools ??= []).AddRange(_builtInTools.Values);
87
}
0 commit comments