Skip to content

Commit

Permalink
fix nuget目录
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzeyu91 committed Aug 15, 2024
1 parent 8ad2117 commit 0aaa1a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
<PropertyGroup>
<Version>0.1.19</Version>
<Version>0.1.20</Version>
<SKVersion>1.17.1</SKVersion>
</PropertyGroup>
</Project>
4 changes: 3 additions & 1 deletion src/GraphRag.Net/Extensions/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ static void InitSK(IServiceCollection services,Kernel _kernel = null)
//导入插件
if (!_kernel.Plugins.Any(p => p.Name == "graph"))
{
_kernel.ImportPluginFromPromptDirectory(Path.Combine(RepoFiles.SamplePluginsPath(), "graph"));
var pluginPatth = Path.Combine(RepoFiles.SamplePluginsPath(), "graph");
Console.WriteLine($"pluginPatth:{pluginPatth}");
_kernel.ImportPluginFromPromptDirectory(pluginPatth);
}
return _kernel;
});
Expand Down
2 changes: 1 addition & 1 deletion src/GraphRag.Net/Utils/RepoUtils/RepoFiles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ string FindPluginsDirectory(string startDir, string targetFolder)
{
throw new AppException("Plugins directory not found. The app needs the plugins from the repo to work.");
}

Console.WriteLine(path);
return path;
}
}

0 comments on commit 0aaa1a9

Please sign in to comment.