Search the data sources with the query the model writes

This commit is contained in:
Thorsten Sommer committed 2026-09-24 17:03:44 +02:00
1 parent 4b1ec5e310
commit ad16aa8fb6
7 files changed
+369 -11

No files matched your search

@@ -89,7 +89,7 @@ public sealed class SemanticSearchToolDescriptionTests
private static ToolFunctionDefinition Describe(params (IDataSource DataSource, string Description)[] dataSources)
{
// Stating its definition needs none of the services the tool searches with:
var registered = new SemanticSearchTool(null!, null!, null!).GetDefinition().Function;
var registered = new SemanticSearchTool(null!, null!, null!, null!, null!).GetDefinition().Function;
return SemanticSearchTool.DescribeDataSources(registered, dataSources);
}