From 3bfdc5e75481e890df6a26402e70489bd05c7c4a Mon Sep 17 00:00:00 2001 From: venti <1308199824@qq.com> Date: Sat, 30 May 2026 15:22:56 +0800 Subject: [PATCH] fix: increase default search depth for script and resource discovery (fixes #5968) --- .../Microsoft.Agents.AI/Skills/File/AgentFileSkillsSource.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/Microsoft.Agents.AI/Skills/File/AgentFileSkillsSource.cs b/dotnet/src/Microsoft.Agents.AI/Skills/File/AgentFileSkillsSource.cs index 54a5dec10c..c66dedea4f 100644 --- a/dotnet/src/Microsoft.Agents.AI/Skills/File/AgentFileSkillsSource.cs +++ b/dotnet/src/Microsoft.Agents.AI/Skills/File/AgentFileSkillsSource.cs @@ -30,7 +30,7 @@ namespace Microsoft.Agents.AI; internal sealed partial class AgentFileSkillsSource : AgentSkillsSource { private const string SkillFileName = "SKILL.md"; - private const int DefaultSearchDepth = 2; + private const int DefaultSearchDepth = 10; private const int MaxSkillDirectorySearchDepth = 2; private static readonly string[] s_defaultScriptExtensions = [".py", ".js", ".sh", ".ps1", ".cs", ".csx"];