yaroslavyaroslav / OpenAI-sublime-text

First class Sublime Text AI assistant with GPT-4o and llama.cpp support!
MIT License
130 stars 11 forks source link

Get a way to easily switch assistant roles #22

Closed yaroslavyaroslav closed 9 months ago

yaroslavyaroslav commented 11 months ago

As for now, to change an assistant role it's required to go to the plugin settings and change the proper setting manually. This is far from being convenient if you're using a few assistant options.

A proper way to solve this would be to present an array of roles assistant_roles stored in it and a separate command to chose from on the fly.

In a sake of not providing breaking changes this change should be make in addition to the given assistant_role setting being treated with the higher priority on a config parser. The previous setting should be marked as deprecated and its support would be dropped on the first major release (e.g. 3.0.0) which would appears somewhat about the end of this year.