Commit Graph

384 Commits

Author SHA1 Message Date
Petr Mironychev
fe84a2a303 chore: Upgrade plugin version to 0.5.6 2025-04-04 18:39:18 +02:00
Petr Mironychev
62de53c306 chore: Update copyrights 2025-04-04 18:01:02 +02:00
Petr Mironychev
7c6a10936c
refactor: Simplify update mechanism (#159) 2025-04-04 17:55:36 +02:00
Petr Mironychev
032c9bbbf3 fix: Add input_extra to llama.cpp validator 2025-04-04 17:16:05 +02:00
Petr Mironychev
8906f98038
fix: Rework copyright searching (#158) 2025-04-04 15:29:36 +02:00
Agron
5126092449
doc: Minor Update README.md to include a shortcut on Linux (#157)
Added short-cut for Linux KDE Plasma
2025-04-04 14:37:36 +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
ffaf6bd61b
feat: Add code completion request progress animation (#153) 2025-04-02 21:00:45 +02:00
Petr Mironychev
79218d8412
refactor: Replace singletone for context manager (#151) 2025-04-01 22:29:45 +02:00
Petr Mironychev
7e6e526ac8 refactor: Removed deprecated api keys fields 2025-03-27 02:12:07 +01:00
Petr Mironychev
80646e2af0
feat: Add additional language for handling to CodeCompletion settings (#150) 2025-03-27 02:07:09 +01:00
Petr Mironychev
5808a892c1 fix: Change expected name in test 2025-03-27 00:41:28 +01:00
Petr Mironychev
d58ff90458 fix: Fixed typo in the use of the project name 2025-03-27 00:34:10 +01:00
Petr Mironychev
7d06ab04dc feat: Add RunQtCreator target 2025-03-27 00:29:23 +01:00
Petr Mironychev
9d40e8ca25 chore: Upgrade plugin to 0.5.5 version 2025-03-20 19:02:11 +01:00
Mariusz Jaskółka
5b16c5403a
fix: Add authorization while getting installed models (#142) (#147) 2025-03-20 11:33:38 +01:00
Mariusz Jaskółka
4ddbe0b8b9
feat: Support Ollama authorization via BaseAuth (#145) (#146) 2025-03-20 11:14:50 +01:00
Petr Mironychev
f41e063c02 chore: Upgrade plugin version to 0.5.4 2025-03-17 02:51:31 +01:00
Petr Mironychev
9d7d084448
fix: Wrong template replace to first template (#143) 2025-03-17 02:48:18 +01:00
Petr Mironychev
1ca1ffc629
fix: Remove reading from replay leading to crash (#142) 2025-03-17 01:22:27 +01:00
Petr Mironychev
8419577ae5
fix: Resolve thread-related QNetworkAccessManager issue (#140)
Fixes "QObject: Cannot create children for a parent that is in a different thread" error by creating QNetworkAccessManager in the same thread where it's used, ensuring proper thread affinity for network operations.
2025-03-16 09:47:04 +01:00
Petr Mironychev
91a6a88130
doc: Add default path for installed plugin 2025-03-14 11:35:37 +01:00
Petr Mironychev
be38abc505
chore: upgrade plugin to 0.5.3 (#139) 2025-03-14 10:59:23 +01:00
Petr Mironychev
f2e0afb6b8
fix: Add qml in code handler for processing model answers (#138) 2025-03-14 10:47:30 +01:00
Petr Mironychev
3cf07238fd
doc: Update QtC version to 16 2025-03-14 09:32:54 +01:00
Petr Mironychev
b98f85a997
chore: Upgrade plugin to QtCreator 16 (#136) 2025-03-13 16:46:32 +01:00
Petr Mironychev
085659483f
doc: Add info about linux compatibility to README.md 2025-03-11 08:34:14 +01:00
Povilas Kanapickas
8a1fd5438e
chore: Add tests for LLMClientInterface (#131) 2025-03-10 21:54:17 +01:00
Povilas Kanapickas
78f69e82a5
chore: Checkout submodules when building (#133) 2025-03-10 19:17:30 +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
13cd12b00a
chore: Add 3rdparty/inja dependency (#126) 2025-03-10 17:28:25 +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
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
Povilas Kanapickas
3839d6896c
refactor: Pass LLMClientInterface to QodeAssistClient (#122)
Contructing LLMClientInterface in constructor of QodeAssistClient when
initializing base class severely limits what can be done. In particular,
no members can be referred to, because nothing of the class instance
itself has been initialized at that point of time.
2025-03-10 16:56:27 +01:00
Petr Mironychev
6b86637dcb
doc: Add llama.cpp description to README.md 2025-03-10 12:07:39 +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
Petr Mironychev
b6f36d61ae
fix: Replace ubuntu-latest to ubuntu 22.04 (#119) 2025-03-10 01:33:03 +01:00
Petr Mironychev
f2f453ccc8 chore: Upgrade plugin to 0.5.1 2025-03-10 01:00:33 +01:00
Petr Mironychev
1bcfd749d5 fix: Change OpenAI model parser conditions 2025-03-10 00:47:16 +01:00
Petr Mironychev
e66f467214
feat: Add llama.cpp provider and fim template (#118) 2025-03-09 22:57:33 +01:00
Povilas Kanapickas
c9a3cdaf25
refactor: Reuse extractFilePathFromRequest() more (#117) 2025-03-08 16:18:44 +01:00
Povilas Kanapickas
7c483f89cd
chore: Replace deprecated FilePath::toString() with toFSPathString() (#116)
This solves a number of deprecation warnings during build.
FilePath::toFSPathString() has been available since couple of years ago.
2025-03-08 16:08:33 +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
3a494d5254
chore: Remove duplicate label setting for systemPromptForNonFimModels (#111)
The same call is several lines below.

Note that systemPrompt does not need label due to a similarly named
checkbox placed nearby. Thus users intuitively know what the text box is
for.
2025-03-08 10:40:22 +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
3aae923d43
feat: Improve describe recent changes in system prompt (#113)
Co-authored-by: Petr Mironychev <9195189+Palm1r@users.noreply.github.com>
2025-03-08 08:58:28 +01:00