Commit Graph

9633 Commits

Author SHA1 Message Date
Bartosz Taudul
e1fa883fbb Merge pull request #1267 from siliceum/fix/test-suppport-manual-lifetime
Tests should work under TRACY_MANUAL_LIFETIME.
2026-02-01 14:46:13 +01:00
Clément Grégoire
be78dc4bfb Tests should work under TRACY_MANUAL_LIFETIME.
This calls tracy::StartupProfiler(); before any other tracy call (in static init) if TRACY_MANUAL_LIFETIME is set
2026-02-01 14:45:00 +01:00
Bartosz Taudul
bc122d5c3d Do not call Glue() in PrintTextExt(). 2026-02-01 02:35:26 +01:00
Bartosz Taudul
b60ab86fa5 Extend link support to code sections, separators, etc. 2026-02-01 02:14:42 +01:00
Bartosz Taudul
32fae40c4e Extract link hover functionality to a separate function. 2026-02-01 02:05:08 +01:00
Bartosz Taudul
324ecdcb99 Change source code separator in LLM attachments. 2026-02-01 01:48:55 +01:00
Bartosz Taudul
c886c8fa00 Remove remains of vision in tool replies. 2026-01-31 19:21:24 +01:00
Bartosz Taudul
925732914a Draw source code preview in source file link tooltip. 2026-01-31 19:17:44 +01:00
Bartosz Taudul
d1ae380cc2 Make View::DrawSourceTooltip() public. 2026-01-31 19:17:07 +01:00
Bartosz Taudul
9d33668c9d Proper check for source file validity. 2026-01-31 18:54:43 +01:00
Bartosz Taudul
903b6b198f Retrieve source file string index and line number only once. 2026-01-31 18:42:07 +01:00
Bartosz Taudul
30ea4ed341 Print a nice tooltip for source links. 2026-01-31 18:35:37 +01:00
Bartosz Taudul
5b7a6bf447 Add instructions for providing source file links. 2026-01-31 18:03:31 +01:00
Bartosz Taudul
4fe8d16a20 Add support for source file links in markdown renderer. 2026-01-31 18:03:11 +01:00
Bartosz Taudul
7cc7e484b9 Make source search results more compact. 2026-01-30 22:55:55 +01:00
Bartosz Taudul
cfcc8af5c3 Remove indentation from tool replies. 2026-01-30 22:37:50 +01:00
Bartosz Taudul
3ce2905582 Default value does not need to be repeated. 2026-01-30 22:36:16 +01:00
Bartosz Taudul
67b75ac7fb Restore attachment indentation when viewing contents in UI. 2026-01-30 22:31:25 +01:00
Bartosz Taudul
99b70f7a6e Remove indentation from LLM attachments.
This has quite large effect on number of tokens. Example assembly attachment:

glm-4.7-flash: 7452 -> 5799 (77%)
gpt-oss-20b:   6896 -> 5245 (76%)
2026-01-30 22:27:55 +01:00
Bartosz Taudul
de002ed071 Update NEWS. 2026-01-30 21:49:17 +01:00
Bartosz Taudul
50eae09cda Source location may be missing a line number.
The valid check here is for the source file index being set (active).
The line number might be zero.

This fixes the "black" unknown source location in assembly listing.
2026-01-30 21:44:24 +01:00
Bartosz Taudul
b9a4bf4f7b Use the intended weighting order in ManageContext(). 2026-01-30 20:58:56 +01:00
Bartosz Taudul
d6e62b3c1f Spell out (long!) source file names in assembly attachments only once. 2026-01-30 01:38:20 +01:00
Bartosz Taudul
e017f504c6 Split source_file parameter context into context and context_back. 2026-01-30 01:07:15 +01:00
Bartosz Taudul
81e8b1a4d8 Update NEWS. 2026-01-29 23:05:40 +01:00
Bartosz Taudul
b7c54253ff Include TracyCrashHandler in a list of frames to cut on crash on Linux. 2026-01-29 22:44:23 +01:00
Bartosz Taudul
eb18dafb22 Check for a substring match in CutCallstack. 2026-01-29 22:44:13 +01:00
Bartosz Taudul
3ddb96b9af Change CutCallstack/SendCallstack interface to accept an array. 2026-01-29 22:41:21 +01:00
Bartosz Taudul
0c6b551afa Make TracyCrashHandler visible externally. 2026-01-29 22:39:24 +01:00
Bartosz Taudul
5a1ff2496c Rename CrashHandler to TracyCrashHandler. 2026-01-29 22:19:50 +01:00
Bartosz Taudul
7ef92c3547 Add crash reason and thread information to LLM attachment, if appropriate. 2026-01-29 22:09:01 +01:00
Bartosz Taudul
73572e6d7f Display notification that crash callstack is crash callstack. 2026-01-29 21:50:47 +01:00
Bartosz Taudul
ebc2c9e28a Use ranges. 2026-01-29 21:48:17 +01:00
Bartosz Taudul
ea9dbe5643 Prefer removal of older tool responses. 2026-01-28 21:34:19 +01:00
Bartosz Taudul
237058420f Make the forget message explain what happened. 2026-01-28 21:25:23 +01:00
Bartosz Taudul
b0704ba35f Adjust minimum available context logic.
Increase the context quota from 70% to 80%, as the previous value was too
conservative with large contexts.

Add a minimum bound of 4K to make small context workable.
2026-01-28 21:15:59 +01:00
Bartosz Taudul
9b98bce193 Reword no network access response. 2026-01-28 21:15:00 +01:00
Bartosz Taudul
41dd81ef7e Tighter packing of source file contents. 2026-01-28 20:59:33 +01:00
Bartosz Taudul
55f4f5f704 Change LLM API timeout from 5 to 20 minutes. 2026-01-28 18:47:14 +01:00
Bartosz Taudul
a371325346 Bump dependencies. 2026-01-26 20:48:15 +01:00
Bartosz Taudul
d1148377ae Insert hint in a valid way. 2026-01-26 11:56:43 +01:00
Bartosz Taudul
cf001a38df Adjust max size calculation. 2026-01-25 21:05:36 +01:00
Bartosz Taudul
841af4795c System prompt update. 2026-01-25 21:01:09 +01:00
Bartosz Taudul
daef2f4c6b Remove span tag duplication in retrieved web pages. 2026-01-25 20:12:34 +01:00
Bartosz Taudul
0a58d88be2 Go back to regex paths in source search. 2026-01-25 16:29:53 +01:00
Bartosz Taudul
27ecaed76e Use regex in source search. 2026-01-25 16:12:45 +01:00
Bartosz Taudul
beb4cd4ea6 Perform query transformation only once. 2026-01-25 16:12:25 +01:00
Bartosz Taudul
d4a56c9a37 Tweak system prompt. 2026-01-25 15:47:08 +01:00
Bartosz Taudul
a4324d595d Add optional file globbing to SourceSearch. 2026-01-25 02:41:00 +01:00
Bartosz Taudul
63c6e48562 Optional string parameter macro. 2026-01-25 02:14:45 +01:00