justyns / silverbullet-ai

Plug for SilverBullet to integrate LLM functionality
https://ai.silverbullet.md/
GNU Affero General Public License v3.0
26 stars 1 forks source link

0.3.0 Not Rendering Templated Prompts #54

Closed iamdangry closed 1 month ago

iamdangry commented 1 month ago

SB: 0.8.5 PLUG: 0.3.0

Updated to 0.3.0, tried to run a templated prompt I created and use daily without a problem in 0.2.0, but the response I receive is off topic as if my note data isn't being passed to AI.

0.2.0 - console shows the template text followed by the rendered template and the response is as expected. 0.3.0 - console shows the template text, does not show the rendered template and the response I receive is made up, not on topic as if the AI is only receiving the prompt instructions and trying to construct a response around that instead of the note data.

Have rolled back to 0.2.0 and everything is back to normal.

justyns commented 1 month ago

Thanks for the report @iamdangry ! This should be fixed in 0.3.1 now.