guywaldman / magic-cli

Command line utility to make you a magician in the terminal
https://guywaldman.com/posts/introducing-magic-cli
MIT License
720 stars 18 forks source link

FR: ability to disable embeddings #30

Closed thiswillbeyourgithub closed 3 months ago

thiswillbeyourgithub commented 3 months ago

Hi,

I'd like to use OpenAI for ask and suggest but am not comfortable sending my whole shell history to them. There's a non zero chance that I leaked a secret at some point in my history and sending it remotely is not okay with me.

Hence, I think it's reasonnable to add an arg to specify which provider to use for embeddings.

guywaldman commented 3 months ago

Hi @thiswillbeyourgithub. This is great feedback.

I prefer to be safe than sorry, so I think I will go ahead and by default disable embeddings if the provider is non-local LLM unless explicitly configured by the user.

guywaldman commented 3 months ago

Resolved in 0.0.5