* add separate Ollama model selection for code completion
closes issue #733
* add separate selection of code completion provider
closes issue #804
* add test for Ollama code completion with separate model selection
also added missing clearing of code completion cache to other tests. This fixes ProxyAI test - before the fix it was passed always regardless of real ProxyAI completion operation
* fix saving of code completion provider option in IDE settings
* fix code style
* fix: remove expected failing test
---------
Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
* feat: add Kotlin inferred type analyzer
* feat: implemented a queue with support for maximum crawl depth
* feat: added the depth of analysis setting to end the chat
* feat: added the depth of analysis setting to code completion
* feat: add tag for code analysis
# Conflicts:
# src/main/kotlin/ee/carlrobert/codegpt/ui/textarea/PromptTextField.kt
* feat: changed priority of EditorTagDetails and FileTagDetails
If we added a file when opening a tab, and then added the same file through the "Include files in Prompt..." menu, it will not be in the selected state.
---------
Co-authored-by: alexander.korovin <alexander.korovin@vk.team>
Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
* Added a keyboard shortcut to remove tags from an active chat
* Replace Main.immediate dispatcher to EdtDispatcher
---------
Co-authored-by: alexander.korovin <alexander.korovin@vk.team>
* Add support for custom baseHost for Anthropic provider
https://github.com/carlrobertoh/ProxyAI/issues/697
* Use intellij-provided socket factory and trust manager for default client
---------
Co-authored-by: borgotta <paul.khattu@gmail.com>
* Change SwingDispatcher to Dispatchers.Main.immediate
* Change PSI analyzer package
* Added a blank for PSI analysis in the chat
* Add support for code structure analysis and improve tag management
- Refactor TagManager to use thread-safe collections
- Add support for new tag types (EditorTagDetails, FileTagDetails)
- Update UI components to handle structure analysis
- Add new icon for structure tags
* Refactoring tags v2
* Add PSI structure to chat settings
* Add VirtualFile to ClassStructure and improve PSI token tracking
* Support passing PSI structure to completion requests
* Add removeListener method to TagManager and fix memory leak
* Update buildOpenAIMessages to support PSI structure for all providers
* Add selected editor tag when initializing user input header
* Add chat settings configuration screen
* Remove unused editor tag and PSI structure settings panels
---------
Co-authored-by: a.iudin <a.iudin@vk.team>
* Initial changes to switch to multiple custom providers
* Change CredentialKey from enum to sealed class
* Changes in the form of settings, support for saving and other logic
* Add copy service settings logic
* Add service settings migration logic
* Fixed the error of working with passwords on the main thread, added api token cleanup for remote settings
* Check style fix
---------
Co-authored-by: a.iudin <a.iudin@vk.team>