Commit Graph

8824 Commits

Author SHA1 Message Date
Bartosz Taudul
cfd3260ea0 Count chat lines. 2025-07-12 11:49:56 +02:00
Bartosz Taudul
3a60a67c95 Explicitly check for assistant role. 2025-07-12 11:49:56 +02:00
Bartosz Taudul
2ad2fa0b4a Get role string only once. 2025-07-12 11:49:56 +02:00
Bartosz Taudul
1ebe85d24f Always show scroll bar in chat window. 2025-07-12 11:49:56 +02:00
Bartosz Taudul
ef230b08f3 Don't display the "thinking" unless asked for. 2025-07-12 11:49:56 +02:00
Bartosz Taudul
b90e0fa467 Adjust colors. 2025-07-12 11:49:56 +02:00
Bartosz Taudul
18a220d4db Support displaying ollama error messages. 2025-07-12 11:49:56 +02:00
Bartosz Taudul
22d139bff7 Allow changing context size. 2025-07-12 11:49:55 +02:00
Bartosz Taudul
c36386ac81 Scroll to bottom when chat is updating. 2025-07-12 11:49:55 +02:00
Bartosz Taudul
8edbdc8081 Add icons to help differentiate user from bot answers. 2025-07-12 11:49:55 +02:00
Bartosz Taudul
d499458c69 Working chat. 2025-07-12 11:49:55 +02:00
Bartosz Taudul
a25b189692 Put a date on the Weizenbaum quote. 2025-07-12 11:49:55 +02:00
Bartosz Taudul
dc325dae89 Focus chat entry field when LLM UI is opened. 2025-07-12 11:49:55 +02:00
Bartosz Taudul
58125770b1 Use ollama::messages instead of vector of strings to hold chat messages.
The implementation is similar, but this way is needed for the ollama-hpp
API.
2025-07-12 11:49:55 +02:00
Bartosz Taudul
c1998bd9f3 Basic chat input and rendering. 2025-07-12 11:49:55 +02:00
Bartosz Taudul
2ea7a183f1 Add chat UI elements. 2025-07-12 11:49:54 +02:00
Bartosz Taudul
4250fa51c2 Add model selection to LLM UI. 2025-07-12 11:49:54 +02:00
Bartosz Taudul
571189c9da Use the intended icon for setting default ollama url. 2025-07-12 11:49:54 +02:00
Bartosz Taudul
42010dc457 Handle no connection / busy cases in LLM UI. 2025-07-12 11:49:54 +02:00
Bartosz Taudul
ab76bafdf7 Use three dots to indicate background tasks instead of one pulsing dot. 2025-07-12 11:49:54 +02:00
Bartosz Taudul
3a4786d2be httplib may throw on invalid protocol. 2025-07-12 11:49:54 +02:00
Bartosz Taudul
4c7338ec1e Load LLM models in a thread. 2025-07-12 11:49:54 +02:00
Bartosz Taudul
fd291f225e Properly set state when reseting ollama URL to default. 2025-07-12 11:49:54 +02:00
Bartosz Taudul
6ce5c345a5 Don't fail when there are no models downloaded. 2025-07-12 11:49:54 +02:00
Bartosz Taudul
d50f05c00b Rework loading LLM models. 2025-07-12 11:49:53 +02:00
Bartosz Taudul
e4e23eabb6 Hook up LLM window. 2025-07-12 11:49:53 +02:00
Bartosz Taudul
e8c2d498d3 Remove redundant m_valid variable. 2025-07-12 11:49:53 +02:00
Bartosz Taudul
02b2882261 Display context size in model selection dropdown. 2025-07-12 11:49:53 +02:00
Bartosz Taudul
cf892505e1 Setup model, get context size. 2025-07-12 11:49:53 +02:00
Bartosz Taudul
0f31d6ac1a List LLM models in global settings. 2025-07-12 11:49:53 +02:00
Bartosz Taudul
08c877c4ef Add interface for listing LLM models. 2025-07-12 11:49:53 +02:00
Bartosz Taudul
cb212567ed Store selected LLM model. 2025-07-12 11:49:53 +02:00
Bartosz Taudul
d72898087f Allow creating TracyLlm when LLM is disabled. 2025-07-12 11:49:52 +02:00
Bartosz Taudul
6b0589f5eb Add configuration UI for LLM. 2025-07-12 11:49:52 +02:00
Bartosz Taudul
85a82fbb70 Implement checking for connection validity and API version in TracyLlm. 2025-07-12 11:49:52 +02:00
Bartosz Taudul
584ad9ffde Add LLM configuration. 2025-07-12 11:49:52 +02:00
Bartosz Taudul
a3e3f9a98f Add basic integration with ollama-hpp. 2025-07-12 11:49:49 +02:00
Bartosz Taudul
8fa40e87d1 Merge pull request #1016 from 6yry6e/systrace-hang-fix
Fix: Hang on shutdown with enabled system tracing
2025-07-12 11:49:05 +02:00
Bartosz Taudul
880c600506 Remove queue delay calibration.
This value is not used for anything, it was just a number displayed in
the UI without much meaning to anyone.

Operations on the queue during early init may not work correctly, stopping
some programs from running past the calibration loop.
2025-07-11 23:23:31 +02:00
Bartosz Taudul
33713086b4 Disable stupid function size warnings. 2025-07-11 23:18:37 +02:00
Bartosz Taudul
91c17abcc7 Merge pull request #1092 from wannacu/master
Fix profiler compilation for older wayland version
2025-07-07 11:53:11 +02:00
wannacu
034b18a933 Fix profiler compilation for older wayland version 2025-07-07 11:54:14 +08:00
Bartosz Taudul
abbc35793e Merge pull request #1091 from siliceum/bugfix/ignorebuildfiles
Update gitignore with ToyPathTracer windows output
2025-07-04 15:47:25 +02:00
Bartosz Taudul
6578a11a1c Merge pull request #1090 from siliceum/bugfix/test-on-windows
Bugfix/test on windows
2025-07-04 15:47:02 +02:00
Clément Grégoire
9971280082 Update gitignore with ToyPathTracer windows output 2025-07-04 14:56:32 +02:00
Clément Grégoire
a3be5cca2c Set tracy-test exe as startup project 2025-07-04 14:54:13 +02:00
Clément Grégoire
84f3bd10e8 Make test app compile on windows SIGUSR1 does not exist on windows 2025-07-04 12:56:09 +02:00
Bartosz Taudul
1d4b9c77ce Merge pull request #1088 from jcl1234/master
Fix FiberEnter start time always being processed as 0
2025-07-02 13:55:27 +02:00
jcl1234
791904a37f Fix FiberEnter start time always being processed as 0 2025-07-01 22:38:10 -05:00
Bartosz Taudul
7388a47658 Fix LockMark source location name. 2025-06-28 00:04:07 +02:00