-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Copy link
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET code
Description
When using PromptTemplates.Liquid alongside other libraries that depend on Fluid.Core v2.x, we run into runtime conflicts such as MissingMethodException due to API differences between Fluid.Core 2.11.1 and >2.11.1
System.MissingMethodException
HResult=0x80131513
Message=Method not found: 'Void Fluid.TemplateContext..ctor(Fluid.TemplateOptions)'.
Source=Microsoft.SemanticKernel.PromptTemplates.Liquid
StackTrace:
at Microsoft.SemanticKernel.PromptTemplates.Liquid.LiquidPromptTemplate.GetTemplateContext(KernelArguments arguments)
at Microsoft.SemanticKernel.PromptTemplates.Liquid.LiquidPromptTemplate.<RenderAsync>d__11.MoveNext()
at Microsoft.SemanticKernel.KernelFunctionFromPrompt.<>c__DisplayClass22_0.<<RenderPromptAsync>b__1>d.MoveNext()
at Microsoft.SemanticKernel.Kernel.<InvokeFilterOrPromptRenderAsync>d__36.MoveNext()
This makes it difficult to integrate the extension into projects where Fluid.Core >2.11.1 is already in use.
It would be great if the extension could upgrade its dependency on Fluid.Core to 2.24 assuming compatibility.
Metadata
Metadata
Assignees
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET code
Type
Projects
Status
Sprint: Done