Commit Graph

1529 Commits

Author SHA1 Message Date
Bartosz Taudul
14aa5dafe5 Add manual section link tooltips. 2026-04-27 22:47:10 +02:00
Bartosz Taudul
4d62b3a573 Move view and worker checks to initial isSource check. 2026-04-27 22:46:35 +02:00
Bartosz Taudul
d4241d987d Pass view, worker to user manual markdown renderer. 2026-04-27 22:23:08 +02:00
Bartosz Taudul
04d30fb487 Add manual chunk retrieval function. 2026-04-27 22:20:58 +02:00
Bartosz Taudul
d653e984b5 Really fix first-word-continuation word wrap.
The previous solution (75c173) didn't account for the fact that the text
to print may start with a space, in which case the text width calculation
results in 0. In effect, first word length was never greater than the
space left for printing, and the problem was still there.

Fix by walking through all initial spaces in firstWord.

If fwLen > left, then a line break is needed. In this case ignore initial
spaces in text.
2026-04-26 00:40:55 +02:00
casqade
29d21fe1f7 Show tooltips for multiline messages 2026-04-25 17:27:13 +03:00
Bartosz Taudul
efb1973210 Dim out external frames in callstack tooltips. 2026-04-25 13:04:49 +02:00
Bartosz Taudul
0bd56feb2d Only reset start time when role changes to non-assistant.
Fixes time reset on tool replies.
2026-04-25 12:49:44 +02:00
Bartosz Taudul
83a31730ce Reply timing logic is only relevant for assistant replies. 2026-04-25 12:49:10 +02:00
Bartosz Taudul
23930e998b Display label with assistant model name and reply duration for each message. 2026-04-24 19:53:45 +02:00
Bartosz Taudul
9b708c433f Store model and response time for assistant messages. 2026-04-24 18:15:49 +02:00
Bartosz Taudul
1c3691a57b Add llm chat topic. 2026-04-17 01:27:38 +02:00
Bartosz Taudul
a64b9a2029 Proper mutex wrapper use.
In the JSON exception catch handler, m_jobsLock.lock() is called directly
on the mutex instead of through the jobsLock unique_lock. When the function
returns, jobsLock's destructor runs but it doesn't own the lock (it was
unlocked earlier at line 1134), and m_jobsLock is never released. This
causes a permanent deadlock the next time anything tries to acquire
m_jobsLock.
2026-04-11 17:29:44 +02:00
Marcos Slomp
ee976f8146 Prevent CMake from re-generating files in the data folder every time (#1327) 2026-04-03 00:24:39 +02:00
Bartosz Taudul
af5f1c4d52 Use CMake option macros. 2026-03-31 23:15:15 +02:00
Bartosz Taudul
5877db5411 Move NO_ISA_EXTENSIONS option to config.cmake. 2026-03-31 23:15:14 +02:00
Bartosz Taudul
6010770879 Update uops.info data. 2026-03-30 02:23:33 +02:00
Bartosz Taudul
1b34592d80 Move git ref CMake extractor to a separate file. 2026-03-28 19:23:15 +01:00
Bartosz Taudul
6f91104542 Include git ref in profiler's --help output. 2026-03-28 12:44:12 +01:00
Bartosz Taudul
77a53e2b5b No need to do strcmp here. 2026-03-24 23:47:40 +01:00
Bartosz Taudul
ef41e12ba8 Fix missing outer loop exit. 2026-03-24 22:51:02 +01:00
Bartosz Taudul
e1143fd985 Try to remove excess frames from reconstructed callstack. 2026-03-24 01:14:38 +01:00
Bartosz Taudul
e792752104 Ignore completely non-local samples. 2026-03-22 17:04:31 +01:00
Bartosz Taudul
3c283187c3 Extract functionality for counting local frames in a callstack. 2026-03-22 17:00:15 +01:00
Bartosz Taudul
1967f2c79b Do proper frame matching instead of relying just on callstack size. 2026-03-22 16:51:55 +01:00
Bartosz Taudul
f5df9f9c24 Remove dead code. 2026-03-21 23:36:15 +01:00
Bartosz Taudul
5040412813 Simplify search for max-local call stack root. 2026-03-21 22:35:25 +01:00
Bartosz Taudul
9326227bcd Display reconstructed callstack in zone info window. 2026-03-21 01:48:00 +01:00
Bartosz Taudul
b52af15504 Change DrawCallstackTable interface to accept data + size pair. 2026-03-21 01:47:26 +01:00
Bartosz Taudul
e1381d1beb Draw reconstructed callstack trace in zone tooltips. 2026-03-21 01:27:12 +01:00
Bartosz Taudul
c4f42b1bc9 Basic heuristics for reconstruction of zone callstack from sample data. 2026-03-21 01:26:40 +01:00
Bartosz Taudul
145efd63c9 Change GetCallstackJson interface to data ptr + size. 2026-03-18 00:52:34 +01:00
Bartosz Taudul
0905e203e3 Add DrawCallstackCalls( data, size, ... ) interface. 2026-03-18 00:42:21 +01:00
Bartosz Taudul
54f778c204 Display ellipsis in single-line callstack printout, when frames remain. 2026-03-17 02:29:12 +01:00
Bartosz Taudul
3876d33a15 Display callstacks in zone tooltips. 2026-03-17 01:32:24 +01:00
Bartosz Taudul
94e5ff2cfb Add inline callstack display to zone info window. 2026-03-17 01:00:21 +01:00
Bartosz Taudul
79d165190a Improve parent zones display. 2026-03-17 00:07:47 +01:00
Bartosz Taudul
83b7d3a267 Simplify "zone trace" into "parent zones". 2026-03-16 01:44:57 +01:00
Bartosz Taudul
80b8e8284e Allow attaching zone histogram to llm. 2026-03-11 00:42:53 +01:00
Bartosz Taudul
b0dd2b291d Make a separate fast model optional. 2026-03-08 14:42:18 +01:00
Bartosz Taudul
9f432d5fa2 Cosmetics. 2026-03-08 13:20:15 +01:00
Bartosz Taudul
2f90aac0ac Force enable thinking for chat model, force disable for fast model. 2026-03-08 13:16:14 +01:00
Bartosz Taudul
869ad0a02d Include news, locations, videos from brave search results. 2026-03-07 22:33:32 +01:00
Bartosz Taudul
928de7ae6c Use common functionality for gathering brave search results. 2026-03-07 22:33:32 +01:00
Bartosz Taudul
feb07e476a Merge pull request #1289 from slomp/slomp/windows-on-arm
Support for Windows on ARM
2026-03-06 23:55:02 +01:00
Bartosz Taudul
460944ef42 Cosmetics. 2026-03-06 23:53:13 +01:00
Bartosz Taudul
db0082de3f Add brave search. 2026-03-06 02:07:21 +01:00
Bartosz Taudul
bbc937c309 Refactor FetchWebPage to FetchHttp with custom headers support 2026-03-05 23:59:27 +01:00
Bartosz Taudul
71c5494414 Move web search engine implementations to separate functions. 2026-03-05 20:57:44 +01:00
Bartosz Taudul
2157e0a1b6 Better handle duckduckgo error responses. 2026-03-05 20:57:44 +01:00