Petr Mironychev
6c05f0d594
refactor: Add external LLMCore lib ( #334 )
...
* feat: Add LLMCore submodule
2026-04-03 12:30:40 +02:00
Petr Mironychev
2d5667d8ca
refactor: Reworking attaching files ( #280 )
...
chore: Upgrade chat format version
2025-11-28 16:17:25 +01:00
Petr Mironychev
627a821115
fix: Edit file tool take only absolute or relative path to file
2025-11-27 01:53:27 +01:00
Petr Mironychev
6ff6901421
fix: Remove check empty file for edit tool
2025-11-03 18:06:51 +01:00
Petr Mironychev
a2f3ae4f64
fix: Changes to top of file
2025-11-03 15:01:51 +01:00
Petr Mironychev
9b90aaa06e
feat: Add edit file tool ( #249 )
...
* feat: Add edit file tool
* feat: Add icons for action buttons
2025-11-03 08:56:52 +01:00
Petr Mironychev
43b64b9166
refactor: Simplified edit tool ( #242 )
...
refactor: Re-work edit file tool
2025-10-26 11:47:16 +01:00
Petr Mironychev
8a80dbe8f5
fix: Exclude ignore file from attach
2025-04-21 08:37:57 +02:00
Petr Mironychev
8cb6a2f6d2
fix: Check patterns and remove filewatcher ( #166 )
...
* fix: Check patterns and remove filewatcher
* fix: Don't show log for non-existent ignore file
2025-04-18 10:55:46 +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
8906f98038
fix: Rework copyright searching ( #158 )
2025-04-04 15:29: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
79218d8412
refactor: Replace singletone for context manager ( #151 )
2025-04-01 22:29:45 +02:00
Povilas Kanapickas
3d770f91c7
refactor: Reduce dependency on TextDocument in ContextManager ( #128 )
2025-03-10 18:06:19 +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
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
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
Povilas Kanapickas
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
5dceb5cd19
fix: Bring back old behavior of readStrings{After,Before}Cursor setting ( #97 )
2025-03-05 20:27:16 +01:00
Povilas Kanapickas
69a8aa80d9
refactor: Make DocumentContextReader::prepareContext() testable ( #96 )
2025-03-05 20:18:59 +01:00
Povilas Kanapickas
e218699e64
refactor: Reuse getContext{Before,After}() instead of duplicating logic ( #95 )
...
getContextAfter(int lineNumber, int cursorPosition) and
getContextBefore(int lineNumber, int cursorPosition) are currently not
tested. Thus as little logic as possible should live there.
2025-03-05 19:43:51 +01:00
Povilas Kanapickas
3dc0d910bf
fix: Fix off by one errors in getContext{Before,After}() ( #94 )
...
This also specifies what exactly getContext*() functions do. Before this
commit linesCount was sometimes interpreted as exclusive of current
line, which was confusing as linesCount + 1 lines were being returned.
2025-03-05 19:32:53 +01:00
Povilas Kanapickas
f9f2a86cea
fix: Correctly pick whole file context ( #85 )
...
Currently the current line is duplicated in both "before" and "after"
context. This is due to DocumentContextReader::readWholeFileAfter()
picking the current line part of which has been already included into
the "before" context.
2025-03-05 19:17:51 +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
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
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
9add61c805
feat: Add possibility to link files to the current system prompt
...
- Add linking files to chat
- Rework tokens counting
2025-01-23 10:17:38 +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