Commit Graph

46 Commits

Author SHA1 Message Date
Petr Mironychev
4e05abc7d2 feat: Add settings for text format 2025-05-01 00:01:44 +02:00
Petr Mironychev
784529e344
feat: Add chat font settings (#180) 2025-04-30 22:44:59 +02:00
Petr Mironychev
155153a763 fix: Optimize searching unreadable symbols for markdown 2025-04-30 21:23:43 +02:00
Petr Mironychev
9225c0c1a9 fix: Check readable symbols for markdown 2025-04-29 21:55:44 +02:00
Petr Mironychev
43adc95857 feat: Add a floating "copy" button 2025-04-28 09:25:39 +02:00
Petr Mironychev
ee672f2cda refactor: Remove Chat preview scrollbar 2025-04-26 17:29:06 +02:00
Petr Mironychev
285e739074 refactor: Change base text style render to markdown 2025-04-24 21:38:54 +02:00
Petr Mironychev
acb1306321 fix: Improve detect unclose codeblock 2025-04-24 03:21:19 +02:00
Petr Mironychev
8b38ecc29b feat: Add Chat preview scroll bar 2025-04-24 02:54:21 +02:00
Petr Mironychev
cfb364f033 fix: Correct removing latest item in messages list 2025-04-24 01:32:01 +02:00
Petr Mironychev
8a80dbe8f5 fix: Exclude ignore file from attach 2025-04-21 08:37:57 +02:00
Petr Mironychev
7a33425d1a
feat: Add reset button to clean message list to specific message (#168) 2025-04-18 19:06:17 +02:00
Petr Mironychev
62de53c306 chore: Update copyrights 2025-04-04 18:01:02 +02:00
Petr Mironychev
79218d8412
refactor: Replace singletone for context manager (#151) 2025-04-01 22:29:45 +02: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
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
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
1b06a651f0 fix: Chat item code style 2025-02-24 19:37:29 +01:00
Petr Mironychev
912c3d8c04 feat: Additional marker for user message in chat 2025-02-24 16:54:45 +01:00
Petr Mironychev
d96f44d42c
refactor: Rework providers and templates logic 2025-02-22 19:39:28 +01:00
Petr Mironychev
56995c9edf fix: Saving name of chat in native language
- Add button to show chat history folder in system viewer
2025-01-26 23:06:51 +01:00
Petr Mironychev
45aba6b6be fix: Sync editors and chat when sync enable 2025-01-26 22:35:43 +01:00
Petr Mironychev
2c49d45297 fix: Keep name of chat after saving 2025-01-26 10:03:34 +01:00
Petr Mironychev
928490d31f fix: small style changes 2025-01-24 01:50:56 +01:00
Petr Mironychev
97163cf6c9 fix: Add calculate tokens after clean chat 2025-01-24 01:08:30 +01:00
Petr Mironychev
f85c162692 fix: Improve scroll bar style 2025-01-24 00:59:26 +01:00
Petr Mironychev
258053d826 feat: Add chat file name in top bar 2025-01-24 00:52:10 +01:00
Petr Mironychev
bf3c0b3aa0 feat: Add auto sync open files with model context 2025-01-24 00:22:44 +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
2814dec3e5 fix: Improve file attachment handling
- Add files to existing list instead of replacing when using attach dialog
- Prevent duplicate files from being added to attachment list
2025-01-21 11:33:13 +01:00
Petr Mironychev
43ac662671 fix: Text width in chat item 2025-01-17 00:46:11 +01:00
Petr Mironychev
1d64d2afc9 refactor: Move to using colors from QtC theme palette 2025-01-15 00:05:12 +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
ee2c3950e8 fix: path to chat file without project 2024-12-23 23:17:43 +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
e544e46d76
feat: Add saving and loading chat history
* feat: Add chat history path
* feat: Add save and load chat
* fix: Change badge width calculation
* refactor: Move chat action to top
* feat: Add autosave of messageReceived
* feat: Add settings for autosave
2024-12-23 18:34:01 +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
1261f913bb ♻️ refactor: Rework currents and add new templates
Add Alpaca, Llama3, LLama2, ChatML templates
2024-11-26 00:28:27 +01:00
Petr Mironychev
36d5242a1f 🐛 fix: Removing message from chat after complete receiving 2024-11-25 23:00:53 +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
SidneyCogdill
6d3bc362b3 Fix all warnings in QML 2024-11-11 11:18:37 +08:00