You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft.SemanticKernel.PromptTemplates.Handlebars which depends on uses Handlebars.Net.Helpers, does not support anymore the Blazor WASN projects.
This is because from version 2.4.5 it starts to use using System.Diagnostics in file HandlebarsHelpers in the method Register.
Process.GetCurrentProcess().MainModule?.FileName
System.Diagnostics is not supported for this platform.
Please do downgrade to version < 2.4.5 if it is possible, and wait for them to fix the issue (open the issue also in their project).
To Reproduce
Steps to reproduce the behavior:
To Reproduce
Steps to reproduce the behavior:
Create a new Blazor application with WebAssembly as Interactive Render Mode
Install Semantic Kernel and Microsoft.SemanticKernel with a version 1.30,0
Install Semantic Kernel Handlebars with version greater than 1.16
Whenever you execute a Kernel function having a prompt with handlebar format
Expected behavior
Prompt should be sent to the LLM model
Platform
OS: Windows
IDE: Visual Studio
Language: C#
Source: Microsoft.SemanticKernel = 1.30.0
The text was updated successfully, but these errors were encountered:
antonio8101
changed the title
.Net: Bug:
.Net: Bug: Blazor WASM not supported from Microsoft.SemanticKernel.PromptTemplates.Handlebars from version >= 1.16
Nov 26, 2024
Describe the bug
Microsoft.SemanticKernel.PromptTemplates.Handlebars
which depends on usesHandlebars.Net.Helpers
, does not support anymore theBlazor WASN projects
.This is because from version
2.4.5
it starts to useusing System.Diagnostics
in fileHandlebarsHelpers
in the methodRegister
.System.Diagnostics
is not supported for this platform.Please do downgrade to version
< 2.4.5
if it is possible, and wait for them to fix the issue (open the issue also in their project).To Reproduce
Steps to reproduce the behavior:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Prompt should be sent to the LLM model
Platform
The text was updated successfully, but these errors were encountered: