ahyatt / llm

A package abstracting llm capabilities for emacs.
GNU General Public License v3.0
142 stars 19 forks source link

ollama context fix #5

Closed s-kostyaev closed 8 months ago

ahyatt commented 8 months ago

Thank you, this fix showed me what was going wrong. I fixed this, in a different way, because I want just one object in the car of llm-chat-prompt-interactions, which should be the context, whatever that is. In that case, it's a vector. Your fix works, but adds the whole list of numbers, not as a vector, which ends up being the same when transformed eventually back into json.

I've checked in the fix in the conversation-fix branch, so please try and verify that it works.

s-kostyaev commented 8 months ago

Works for me, thank you