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
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
wannacu
034b18a933
Fix profiler compilation for older wayland version
2025-07-07 11:54:14 +08:00
Bartosz Taudul
c556831ddc
Release 0.12.2.
2025-06-25 23:55:40 +02:00
Antoine Mura
17ab46c539
Fix Clear Button in Find Zone
2025-06-20 11:05:02 +02:00
rmarker
e1b325741e
Add limit range for flame graph.
...
Allow restricting the flame graph to a specific time range.
Similar to the existing range limits for other tools, such as for
statistics.
2025-06-15 17:41:27 +09:30
Bartosz Taudul
650c98ece7
Relase 0.12.1.
2025-06-07 16:59:25 +02:00
Allen Guo
b8267a1660
fix vertical scroll bar lost on macos
2025-05-31 23:40:56 +08:00
Bartosz Taudul
87924acdd9
Release 0.12.0.
2025-05-30 20:27:13 +02:00
Bartosz Taudul
0574decec0
Shorten image names by default.
2025-05-30 18:20:40 +02:00
Fan Chen
0eb3a82673
Move CUDA after Custom as existing traces may use the Custom identifier
2025-05-23 15:22:36 -04:00
Fan Chen
d0b7c7c048
ADD CUDA to GpuContextNames
2025-05-22 19:28:17 -04:00
Bartosz Taudul
53510c316b
Update nfd-extended to 1.2.1, retrieve via CPM.
2025-05-11 14:16:20 +02:00
Bartosz Taudul
fc9b39e26d
Bump ImGui to 1.91.9b-docking.
2025-05-11 13:50:34 +02:00
Bartosz Taudul
5140a5a411
Merge pull request #1021 from siliceum/wakeup
...
Thread wakeup visualization
2025-05-10 13:55:51 +02:00
Tomaž Vöröš
a088ebe337
fix some buffer sizes
2025-05-10 00:27:32 +02:00
Clément Grégoire
0ce3b05d64
Fix issues with timeline highlight code when IsMouseClickReleased is called
...
`HandleTimelineMouse` did the following
- `m_highlight.active = true` when clicked
- update range while dragging
- `m_highlight.active = false` when not dragging
This causes issues when `IsMouseClickReleased` is called somewhere else as
- `mousePotentialClickRelease` is set to true on click
- At beginning of frame, `mouseDragging` is set to `false` as long as `mousePotentialClickRelease` is `true` and mouse delta is under the drag threshold
- This means that if the mouse didn't move enough in the duration of a frame, highlight would immediately stop, even though we were still holding the mouse button down
Instead, it now only stops highlighting once the mouse is no longer down (ie: has been "released", cursor having moved or not)
2025-05-07 15:37:56 +02:00
Simon van Bernem
132a4ba320
Revert "The config is now always saved on exit."
...
This reverts commit 6b03d1dd9e .
2025-04-28 17:01:29 +02:00
Simon van Bernem
6b03d1dd9e
The config is now always saved on exit.
2025-04-28 15:37:04 +02:00
Simon van Bernem
7474127bbb
Fixed typo
2025-04-27 21:38:23 +02:00
Simon van Bernem
a277453acb
Added saving of user ui scale in the global configuration. Moved userScale into s_config. Prevented "Get started" and "Loading trace..." windows from having their position saved between restarts, because if you change scale and then restart, they might get pushed to the edge of the window, which is confusing.
2025-04-27 21:33:08 +02:00
Simon van Bernem
a150fdfc35
Adding per-monitor DPI awareness by using glfwGetWindowContentScale instead of glfwGetMonitorContentScale and ensuring that the window is also resized appropriately by using GLFW_SCALE_TO_MONITOR
2025-04-25 19:44:30 +02:00
Clément Grégoire
859aa9fbf0
Fix missing return and formating in DecodeContextSwitchReason
2025-04-25 17:43:29 +02:00
Clément Grégoire
b906430f50
Thread wake up vertical par now uses half pixel offset
2025-04-24 12:23:27 +02:00
Clément Grégoire
66bdc49c17
Only change selected thread when clicking in cpudata zone ( m_drawThreadHighlight can be set when hovering, and thus clicking, a thread lane name)
2025-04-14 01:17:08 +02:00
Clément Grégoire
a3102ef26b
Fix wakeup line DPI handling and offset
2025-04-13 19:59:52 +02:00