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
v0.5.5
2025-03-20 19:02:11 +01:00
Mariusz Jaskółka and GitHub
5b16c5403a
fix: Add authorization while getting installed models ( #142 ) ( #147 )
2025-03-20 11:33:38 +01:00
Mariusz Jaskółka and GitHub
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
v0.5.4
2025-03-17 02:51:31 +01:00
Petr Mironychev and GitHub
9d7d084448
fix: Wrong template replace to first template ( #143 )
2025-03-17 02:48:18 +01:00
Petr Mironychev and GitHub
1ca1ffc629
fix: Remove reading from replay leading to crash ( #142 )
2025-03-17 01:22:27 +01:00
Petr Mironychev and GitHub
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 and GitHub
91a6a88130
doc: Add default path for installed plugin
2025-03-14 11:35:37 +01:00
Petr Mironychev and GitHub
be38abc505
chore: upgrade plugin to 0.5.3 ( #139 )
v0.5.3
2025-03-14 10:59:23 +01:00
Petr Mironychev and GitHub
f2e0afb6b8
fix: Add qml in code handler for processing model answers ( #138 )
2025-03-14 10:47:30 +01:00
Petr Mironychev and GitHub
3cf07238fd
doc: Update QtC version to 16
2025-03-14 09:32:54 +01:00
Petr Mironychev and GitHub
b98f85a997
chore: Upgrade plugin to QtCreator 16 ( #136 )
v0.5.2
2025-03-13 16:46:32 +01:00
Petr Mironychev and GitHub
085659483f
doc: Add info about linux compatibility to README.md
2025-03-11 08:34:14 +01:00
Povilas Kanapickas and GitHub
8a1fd5438e
chore: Add tests for LLMClientInterface ( #131 )
2025-03-10 21:54:17 +01:00
Povilas Kanapickas and GitHub
78f69e82a5
chore: Checkout submodules when building ( #133 )
2025-03-10 19:17:30 +01:00
Povilas Kanapickas and GitHub
3d770f91c7
refactor: Reduce dependency on TextDocument in ContextManager ( #128 )
2025-03-10 18:06:19 +01:00
Povilas Kanapickas and GitHub
c724bace06
refactor: Move document access out of prepareContext() ( #129 )
2025-03-10 17:54:03 +01:00
Povilas Kanapickas and GitHub
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 and GitHub
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 and GitHub
13cd12b00a
chore: Add 3rdparty/inja dependency ( #126 )
2025-03-10 17:28:25 +01:00
Povilas Kanapickas and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
6b86637dcb
doc: Add llama.cpp description to README.md
2025-03-10 12:07:39 +01:00
Povilas Kanapickas and GitHub
58c3e26e7f
refactor: Decouple LLMClientInterface from ProvidersManager ( #120 )
...
This will be needed for tests.
2025-03-10 10:40:51 +01:00
Povilas Kanapickas and GitHub
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 and GitHub
b6f36d61ae
fix: Replace ubuntu-latest to ubuntu 22.04 ( #119 )
v0.5.1
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 and GitHub
e66f467214
feat: Add llama.cpp provider and fim template ( #118 )
2025-03-09 22:57:33 +01:00
Povilas Kanapickas and GitHub
c9a3cdaf25
refactor: Reuse extractFilePathFromRequest() more ( #117 )
2025-03-08 16:18:44 +01:00
Povilas Kanapickas and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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
3aae923d43
feat: Improve describe recent changes in system prompt ( #113 )
...
Co-authored-by: Petr Mironychev <[email protected] >
2025-03-08 08:58:28 +01:00
Povilas Kanapickas and GitHub
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 and GitHub
9a5047618d
chore: Silence Qt warnings during tests ( #110 )
2025-03-07 01:58:09 +01:00
Povilas Kanapickas and GitHub
90beebf2ee
Revert "refactor: Move all processing logic to CodeHandler::processText()" ( #109 )
2025-03-07 01:57:13 +01:00
Povilas Kanapickas and GitHub
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 and GitHub
5536de146c
chore: Remove dead code in RequestHandler ( #106 )
2025-03-06 14:19:01 +01:00
Povilas Kanapickas and GitHub
81ac3c71fb
chore: Add tests for CodeHandler ( #105 )
...
* chore: Extract test utils to separate file
This makes it possible to reuse the utils in other test files.
* chore: Add tests for CodeHandler
2025-03-06 13:45:12 +01:00
Povilas Kanapickas and GitHub
61ca5c9a1b
fix: Properly omit copyright information ( #103 )
...
This commit ensures that copyright information is always excluded and
that context is always split into prefix and suffix at correct position.
2025-03-06 13:00:15 +01:00
Povilas Kanapickas and GitHub
8a167bf248
chore: Expand DocumentContextReaderTest to cover more conditions ( #102 )
...
Tests should have "before" and "after" cases side by side, so that it's
possible to easily verify that full context is extracted correctly.
Also tests should consistently cover the same conditions in all the
different scenarios.
2025-03-06 12:08:57 +01:00
Povilas Kanapickas and GitHub
ab97f39ea4
chore: Fix pretty printing for QString ( #101 )
...
Previously QString was printed symbol by symbol. E.g.:
reader.readWholeFileAfter(3, 1)
Which is: { "i", "n", "e", " ", "2", "
", "L", "i", "n", "e", " ", "3" }
2025-03-06 12:08:16 +01:00
Petr Mironychev and GitHub
0d3493e7f6
feat: Change linux build base to ubuntu 22.04 ( #99 )
2025-03-06 11:55:04 +01:00
Povilas Kanapickas and GitHub
1d062e1fe4
chore: Use zero-based line numbers in tests ( #100 )
...
This makes the line index arguments passed to functions match the actual
test data, thus tests are less confusing.
2025-03-06 11:53:27 +01:00
Povilas Kanapickas and GitHub
5dceb5cd19
fix: Bring back old behavior of readStrings{After,Before}Cursor setting ( #97 )
2025-03-05 20:27:16 +01:00