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
Describe the bug
AI Service fails when user message contains template variables.
Log and Stack trace
dev.langchain4j.exception.IllegalConfigurationException: Error: cannot find the value of the prompt template variable "{{it}}".
at dev.langchain4j.exception.IllegalConfigurationException.illegalConfiguration(IllegalConfigurationException.java:12)
at dev.langchain4j.service.DefaultAiServices.getValueOfVariableIt(DefaultAiServices.java:247)
at dev.langchain4j.service.DefaultAiServices.findTemplateVariables(DefaultAiServices.java:223)
at dev.langchain4j.service.DefaultAiServices.prepareUserMessage(DefaultAiServices.java:258)
Describe the bug
AI Service fails when user message contains template variables.
Log and Stack trace
To Reproduce
Please complete the following information:
The text was updated successfully, but these errors were encountered: