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

Missing history (and assistant settings) context if build output panel in within the focus #51

Open yaroslavyaroslav opened 1 month ago

yaroslavyaroslav commented 1 month ago

Prerequisites

  1. sublime project scope created
  2. OpenAI assistant related settings added to sublime project
  3. Build output panel is active within some output inside.

To reproduce

  1. Open chat history in tab
  2. Request anything
  3. Select text within the Build output panel
  4. Perform another request without changing view focus
  5. Request would be performed with default context rather than with a project one. Changing focus to a project related view would fix problem

Expected behaviour

To keep project related content (assistant settings and history) while selecting text from within Build output panel.