Open devalexandre opened 8 months ago
Thanks for the report, I'm going to adjust the issue title and point out issues in the conversational agent chain.
Part of what's happening here is by supplying agents.WithPrompt ends up overwriting the prompt assembly logic in getConversationalPrompt
so the contents sent to the model don't include any of the embedded templates.
any solution for it?
I'm writing some use cases, to document the use of langchaingo, but even looking at the examples some things are not clear, the use of template is a case, I tested both with llama2 and openai, and the result was the same error .
code: