Petr Mironychev
637a4d9d4c
feat: Add custom providers endpoint ( #188 )
2025-05-17 09:21:06 +02:00
Petr Mironychev
25a6983de0
refactor: Make connection more async ( #182 )
2025-05-01 15:35:33 +02:00
Petr Mironychev
2fe6850a06
refactor: Improve textsuggestion working
2025-04-24 01:25:45 +02:00
Petr Mironychev
615175bea8
feat: Add file list for ignoring in request for llm ( #163 )
2025-04-17 09:12:47 +02:00
Petr Mironychev
62de53c306
chore: Update copyrights
2025-04-04 18:01:02 +02:00
Petr Mironychev
9d2d70fc63
feat: Add sharing opened files with code completion requests ( #156 )
2025-04-04 10:38:06 +02:00
Petr Mironychev
79218d8412
refactor: Replace singletone for context manager ( #151 )
2025-04-01 22:29:45 +02:00
Petr Mironychev
d58ff90458
fix: Fixed typo in the use of the project name
2025-03-27 00:34:10 +01:00
Povilas Kanapickas
3d770f91c7
refactor: Reduce dependency on TextDocument in ContextManager ( #128 )
2025-03-10 18:06:19 +01:00
Povilas Kanapickas
c724bace06
refactor: Move document access out of prepareContext() ( #129 )
2025-03-10 17:54:03 +01:00
Povilas Kanapickas
719065ebfc
refactor: Extract document reading to separate class ( #127 )
...
This decouples LLMClientInterface from Qt Creator text editor
implementation and allows to write tests
2025-03-10 17:42:40 +01:00
Povilas Kanapickas
a218064a4f
refactor: Introduce base class for RequestHandler ( #125 )
...
This will make it possible to write a mock implementation.
2025-03-10 17:29:45 +01:00
Povilas Kanapickas
ed59be4199
refactor: Extract performance logging to separate class ( #124 )
...
This should not be responsibility of LLMClientInterface. Extracting this
class also adds flexibility to silence logging output in tests.
2025-03-10 17:10:01 +01:00
Povilas Kanapickas
58c3e26e7f
refactor: Decouple LLMClientInterface from ProvidersManager ( #120 )
...
This will be needed for tests.
2025-03-10 10:40:51 +01:00
Povilas Kanapickas
98e1047bf1
refactor: Decouple prompt template manager from their users ( #115 )
...
This makes it possible to test the user classes
2025-03-10 02:13:10 +01:00
Povilas Kanapickas
c9a3cdaf25
refactor: Reuse extractFilePathFromRequest() more ( #117 )
2025-03-08 16:18:44 +01:00
Povilas Kanapickas
6c323642e4
refactor: Inject settings into LLMClientInterface ( #114 )
...
This reduces reliance on global state and makes it more possible to test
the code.
2025-03-08 15:08:15 +01:00
Povilas Kanapickas
44b3b0cc0c
refactor: Don't use global state in ContextManager::isSpecifyCompletion ( #112 )
...
Using global state makes testing things way harder.
2025-03-08 10:38:52 +01:00
Povilas Kanapickas
f94c79a5ff
fix: Improve support for code blocks without language ( #108 )
...
This makes it possible to represent code blocks in models that emit
their suggestion immediately after the ``` characters.
2025-03-07 15:30:22 +01:00
Povilas Kanapickas
90beebf2ee
Revert "refactor: Move all processing logic to CodeHandler::processText()" ( #109 )
2025-03-07 01:57:13 +01:00
Povilas Kanapickas
521261e0a3
refactor: Move all processing logic to CodeHandler::processText() ( #107 )
...
This will become useful once more processing modes are available
2025-03-06 18:49:28 +01:00
Povilas Kanapickas
69a8aa80d9
refactor: Make DocumentContextReader::prepareContext() testable ( #96 )
2025-03-05 20:18:59 +01:00
Povilas Kanapickas
bcf7b6c226
refactor: Make DocumentContextReader usable outside Qt Creator context ( #89 )
...
This makes it possible to write simple unit tests for it without running
full Qt Creator. Not coupling DocumentContextReader to
TextEditor::TextDocument unnecessarily is also a better design in
general.
2025-03-05 01:53:02 +01:00
Povilas Kanapickas
61196cae90
chore: Run clang-format over the codebase ( #82 )
...
This commit is a result of the following commands:
clang-format-19 --style=file -i $(git ls-files | fgrep .cpp)
clang-format-19 --style=file -i $(git ls-files | fgrep .hpp)
2025-03-02 22:44:20 +01:00
Petr Mironychev
c8e0f3268e
fix: End completion position in lsp answer
2025-02-26 23:12:26 +01:00
Petr Mironychev
84025ec843
feat: Separate system prompt for fin and non-fim models
2025-02-26 22:51:38 +01:00
Petr Mironychev
7ba615a72d
feat: Add Google AI provider and template
2025-02-25 14:26:56 +01:00
Petr Mironychev
d96f44d42c
refactor: Rework providers and templates logic
2025-02-22 19:39:28 +01:00
Petr Mironychev
bd25736a55
refactor: Optimize SystemPrompt for code completion
2025-02-16 16:53:03 +01:00
Petr Mironychev
60936f6d84
refactor: Improve code completion message for Instruct models
Build plugin / ${{ matrix.config.name }} (map[artifact:Linux-x64 cc:gcc cxx:g++ name:Ubuntu Latest GCC os:ubuntu-latest platform:linux_x64]) (push) Has been cancelled
Build plugin / ${{ matrix.config.name }} (map[artifact:Windows-x64 cc:cl cxx:cl environment_script:C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat name:Windows Latest MSVC os:windows-latest platform:windows_x64]) (push) Has been cancelled
Build plugin / ${{ matrix.config.name }} (map[artifact:macOS-universal cc:clang cxx:clang++ name:macOS Latest Clang os:macos-latest platform:mac_x64]) (push) Has been cancelled
Build plugin / update_json (push) Has been cancelled
Build plugin / release (push) Has been cancelled
2025-02-12 02:05:37 +01:00
Petr Mironychev
7d23d0323f
refactor: Improve system prompt and message
2025-02-12 01:47:52 +01:00
Petr Mironychev
2a0beb6c4c
feat: Add language-specific LLM preset configuration
...
- Add ability to configure separate provider/model/template for specific programming language
- Add UI controls for language preset configuration
- Support custom provider selection per language
- Support custom model selection per language
- Support custom template selection per language
2025-02-02 22:57:18 +01:00
Petr Mironychev
511f5b36eb
Upgrade to version 0.4.4
...
* feat: Add attachments for message
* feat: Support QtC color palette for chat view
* feat: Improve code completion from non-FIM models
* refactor: Removed trimming messages
* chore: Bump version to 0.4.4
2025-01-08 02:05:25 +01:00
Petr Mironychev
f27429aa66
refactor: Move context to separate lib
2024-12-24 22:45:20 +01:00
Petr Mironychev
d04e5bc967
Add Claude provider and templates for chat and code ( #55 )
...
* feat: Add provider settings
* feat: Add Claude provider
* feat: Add Claude templates
* refactor: Setting input sensitivity
* fix: Back text after read code block
* fix: Add missing system message for ollama fim
2024-12-23 22:22:01 +01:00
Petr Mironychev
ac8080542d
✨ feat: Add using instruct model in code completion
...
* ✨ feat: Add MessageBuilder for code completion
* ✨ feat: Add move text from request to comments
* ✨ feat: Add settings for process text of instruct model
* 🐛 fix: Add stop to ollama request validator
* 🐛 fix: Template double delete
2024-12-17 00:35:17 +01:00
Petr Mironychev
7376a11a05
✨ feat: Add request validator
2024-12-15 02:08:35 +01:00
Petr Mironychev
16b77a5722
✨ feat: Add stream option to settings
2024-12-10 21:46:39 +01:00
Petr Mironychev
bfdbc755e3
🐛 fix: Move api key from request json to config
2024-11-26 10:52:47 +01:00
Petr Mironychev
80fe388bdd
feat: Add automatic template handling for Ollama models ( #43 )
...
* feat: Add automatic template handling for Ollama models
- Add OllamaAutoFim
- Use native Ollama API format when possible
- Remove need for manual template selection for most Ollama models
- Default to model-specific format from Ollama modelfile
- Fallback to manual template selection if needed
This change simplifies configuration by automatically using
the correct template format for each Ollama model.
2024-11-23 19:37:55 +01:00
Petr Mironychev
5e813ba402
Fix systemPrompt and context working
2024-11-16 10:20:57 +01:00
Petr Mironychev
bc93bce03b
Adapt new settings
2024-11-11 00:03:38 +01:00
Petr Mironychev
85d039cbd5
Rework Chat Assistant Settings
2024-11-10 22:50:47 +01:00
Petr Mironychev
2acaef553d
Rework Code Completion Settings
2024-11-10 21:21:37 +01:00
Petr Mironychev
b141e54e3e
Rework General Settings
2024-11-10 20:42:10 +01:00
Petr Mironychev
0c045e65df
Upgrade to version 0.3.0
...
new QML Chat
Qwen chat model
2024-10-14 00:10:24 +02:00
Petr Mironychev
9903ac8f7b
Fix system prompt for FIM
2024-10-02 21:44:15 +02:00
Petr Mironychev
04c44f5916
Add basic chat widgets and functionality
2024-09-23 00:10:23 +02:00
Petr Mironychev
8e052ff45c
Add settings for cache of changes
2024-09-11 01:59:25 +02:00
Petr Mironychev
2fb876ff00
Exclude current file cache from request
2024-09-11 01:37:57 +02:00