arcuru / chaz

Chaz is an AI bot for Matrix
https://chaz.is
MIT License
45 stars 3 forks source link

add option to disable media context #10

Closed hiinaspace closed 2 months ago

hiinaspace commented 2 months ago

Since I'm using ollama backend, aichat will throw an error saying "supports_vision: false" or something if you try to pass in media. I couldn't find a way to gracefully ignore it upstream. So add a config option to disable passing that.

arcuru commented 2 months ago

It'd be nice to configure this per model or from the chat instead of config, but I think this is a good setting to have regardless. I looked too and it would take a lot more work to set those up.

Thanks!