Commit Graph

46 Commits

Author SHA1 Message Date
Povilas Kanapickas
8a1fd5438e
chore: Add tests for LLMClientInterface (#131) 2025-03-10 21:54:17 +01:00
Povilas Kanapickas
7dd8b3d085
fix: Make build CMakeLists.txt standalone (#123)
Previously it depended on QODEASSIST_QT_CREATOR_VERSION_* flags being
passed to cmake during build process. Making it standalone saves time
for the users.
2025-03-10 17:00:07 +01:00
Petr Mironychev
e66f467214
feat: Add llama.cpp provider and fim template (#118) 2025-03-09 22:57:33 +01:00
Povilas Kanapickas
247256d4a4
chore: Add unit tests for DocumentContextReader (#90)
chore: Add unit tests for DocumentContextReader

The tests are based on GTest like some tests in Qt Creator itself, which
makes it easy to run as full Qt Creator does not need to be started.
2025-03-05 15:01:52 +01:00
Povilas Kanapickas
d8a01504a3
chore: Add support for Qt Creator version to the plugin build script (#87)
This will allow to add code conditional on the Qt Creator version to the
plugin codebase. The Qt Creator version will be passed from the build
script automatically. This will also allow to easily extend the Github
Actions job matrix to create releases for more than one Qt Creator
version.

Using QT_VERSION_CHECK allows to reuse existing Qt patterns of checking
versions.

Code has been tested by invoking QODEASSIST_QT_CREATOR_VERSION in code.
2025-03-04 11:17:19 +01:00
Petr Mironychev
903eb50e7a fix: Current template description in General Settings 2025-02-26 13:39:49 +01:00
Petr Mironychev
e8f7f031b6 feat: Enabling Position Independent Code 2025-02-26 13:25:29 +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
288fefebe5 feat: Add CodeLlama QML FIM 2025-02-01 09:36:14 +01:00
Petr Mironychev
289a19ac1a feat: Add OpenAI provider and template 2025-01-17 01:22:12 +01:00
Petr Mironychev
9db61119aa
feat: Add check plugin update and dialog for update 2025-01-13 20:11:27 +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
844ac35a59 🐛 fix: Change name for OpenRouter provider 2024-12-12 15:09:21 +01:00
Petr Mironychev
c070fd5cfd feat: Add OpenRouter provider 2024-12-10 21:28:15 +01:00
Petr Mironychev
882047d7b2 ♻️ refactor: Improve response handler for LMStudio 2024-12-10 17:13:56 +01:00
Petr Mironychev
b692402897 ♻️ refactor: Improve Ollama response handler 2024-12-10 08:25:30 +01:00
Petr Mironychev
55e2b24b8d
Upgrade plugin to Qt Creator 15
* 🐛 fix: Change plugin configs
* 🐛 fix: Update Button aspect api
* 🐛 fix: Temproary fix for LLMSuggestions
* 🐛 fix: Update github actions
* 🔖 chore: Upgrade version in README
2024-12-03 11:15:35 +01:00
Petr Mironychev
1261f913bb ♻️ refactor: Rework currents and add new templates
Add Alpaca, Llama3, LLama2, ChatML templates
2024-11-26 00:28:27 +01:00
Petr Mironychev
4f2dc0c450 feat: Add Ollama auto template for chat 2024-11-23 21:15:34 +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
SidneyCogdill
6d3bc362b3 Fix all warnings in QML 2024-11-11 11:18:37 +08:00
Petr Mironychev
b141e54e3e Rework General Settings 2024-11-10 20:42:10 +01:00
Petr Mironychev
496d8feb66 Add Qwen fim template 2024-10-19 19:13:42 +02:00
Petr Mironychev
46829720d8 Add StarCoder2 instruct support 2024-10-16 10:45:48 +02:00
Petr Mironychev
14bf0e6c94 Upgrade plugin version to 0.3.0 2024-10-14 00:22:24 +02: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
b808d0ec10 Remove temporary code 2024-10-07 00:49:49 +02:00
Petr Mironychev
8be279a5fd Add base qml chat view to navigation panel 2024-10-06 17:54:00 +02:00
Petr Mironychev
1760a2d5ff Upgrade QtCreator to 14.0.2
Add no print support

Test disabling qt6 print component

Clean unnecessary code

Add library
2024-10-03 15:30:16 +02:00
Petr Mironychev
04c44f5916 Add basic chat widgets and functionality 2024-09-23 00:10:23 +02:00
Petr Mironychev
cd1a9e16e0 Add basic cache manager 2024-09-11 01:25:00 +02:00
Petr Mironychev
15af137728 Add examples of customs request 2024-09-08 02:25:21 +02:00
Petr Mironychev
f64ea42071 Remove origin qodesettings 2024-09-08 01:07:39 +02:00
Petr Mironychev
b5ca11ed38 Move settings to General Page 2024-09-07 23:10:11 +02:00
Petr Mironychev
d49cd07dd0 Add empty pages for future settings 2024-09-07 20:11:54 +02:00
Petr Mironychev
1e0063a7bb Add custom template prompt 2024-09-06 01:07:28 +02:00
Petr Mironychev
753365ea52 Add multiline insert support 2024-09-02 10:54:14 +02:00
Petr Mironychev
d7fc62f94b Move instractoins out from FIM request 2024-09-01 12:06:55 +02:00
Petr Mironychev
4f0f9338dc Add DeepSeekCoderV2 template 2024-08-31 23:20:23 +02:00
Petr Mironychev
fa79803836 Add OpenAI Compatible provider 2024-08-29 23:06:58 +02:00
Petr Mironychev
9beb48ee97 Add CodeQwenChat template 2024-08-29 22:28:18 +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