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
Petr Mironychev
cd1a9e16e0
Add basic cache manager
2024-09-11 01:25:00 +02:00
Petr Mironychev
f64ea42071
Remove origin qodesettings
2024-09-08 01:07:39 +02:00
Petr Mironychev
356f28a97b
Move context settings to page
2024-09-07 23:51:23 +02:00
Petr Mironychev
b5ca11ed38
Move settings to General Page
2024-09-07 23:10:11 +02:00
Petr Mironychev
44add994b9
Optimize string
2024-09-05 22:18:57 +02:00
Petr Mironychev
d7fc62f94b
Move instractoins out from FIM request
2024-09-01 12:06:55 +02:00
Petr Mironychev
dec8967df2
Add performance benchmark
2024-09-01 00:06:11 +02:00
Petr Mironychev
46258a11f6
Fix authorization to the API.
2024-08-30 07:47:33 +02:00
Petr Mironychev
b4f969908f
Fix typo
2024-08-29 22:46:03 +02:00
Petr Mironychev
d6320b04f7
Fix remove comments from request
2024-08-29 22:26:40 +02:00
Petr Mironychev
a613ea19f4
Add singleline completion
2024-08-29 09:46:41 +02:00
Petr Mironychev
61aae8e3ba
Remove copyright from request
2024-08-29 00:28:54 +02:00
Petr Mironychev
fc58c38f63
Add extended context
2024-08-28 10:10:31 +02:00
Petr Mironychev
a324df8dbf
Fix reading context
2024-08-27 23:03:22 +02:00
Petr Mironychev
819e103471
Initial commit
2024-08-27 11:58:55 +02:00