diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index f2c129a..1fe86aa 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -26,5 +26,8 @@ jobs: with: dotnet-version: "8.x" - - name: Build & Run UTs - run: dotnet test src/Yaap.sln -c ${{ matrix.configuration }} + - name: Build + run: dotnet build src/Yaap.sln -c ${{ matrix.configuration }} + + - name: Run UTs + run: dotnet test src/Yaap.sln -c ${{ matrix.configuration }} --no-build diff --git a/src/SemanticKernel/Server/YaapServer.cs b/src/SemanticKernel/Server/YaapServer.cs index d60f66a..b847235 100644 --- a/src/SemanticKernel/Server/YaapServer.cs +++ b/src/SemanticKernel/Server/YaapServer.cs @@ -33,7 +33,7 @@ public abstract class YaapServer(Kernel kernel, IDistributedCach protected override Task HandleHelloCustomAsync(YaapClientDetail clientDetail, CancellationToken cancellationToken) { _log.AddingExpertNameToSemanticKernelPlugins(clientDetail.Name); - _log.ClientDetail(clientDetail); + _log.ClientDetail(clientDetail) kernel.ImportPluginFromFunctions(clientDetail.Name, [kernel.CreateFunctionFromMethod( async (string prompt) => await CallExpertAsync(clientDetail, prompt, cancellationToken),