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

Status bar assistant info not always reflects the project specific changes #46

Open yaroslavyaroslav opened 2 months ago

yaroslavyaroslav commented 2 months ago

Overview

In 4.0.0 release project specific assistant settings have been added. Yet it fails to update status bar assistant info (at least, haven't dug deeper, maybe all the rest settings failing to being update as well) after picking a new assistant from an assistants list.

Steps to reproduce

  1. Create new project within ST
  2. Add a project specific settings for this plugin as shows bellow
  3. Select any other model from the list
  4. Info presented in status bar appears to be unchanged

Expected result

Status bar [as well as assistant settings and chat history] should reflect the project specific settings right from the start.

Temporary work around

Restarting ST fixes the issue.