Commit Graph

1224 Commits

Author SHA1 Message Date
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
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
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
Bartosz Taudul
1f4b2dd45f Try to show some search results, if no space for full data. 2026-01-25 02:07:25 +01:00
Bartosz Taudul
7a2aaa6e8e Refine system prompt. 2026-01-25 01:14:16 +01:00
Bartosz Taudul
b2dcd55d95 Better handling of error responses. 2026-01-25 00:35:18 +01:00
Bartosz Taudul
cdec805cc9 Underline links. 2026-01-24 14:23:15 +01:00
Bartosz Taudul
7c54c824ab Add support for markdown strikethrough. 2026-01-24 14:16:16 +01:00
Bartosz Taudul
a7ed5e1fb3 Support rendering markdown task lists. 2026-01-24 13:50:39 +01:00
Bartosz Taudul
73694c7a24 Cleanup enums. 2026-01-24 01:50:11 +01:00
Bartosz Taudul
cfb5f5595a Rewrite system prompt. 2026-01-23 23:22:59 +01:00
Bartosz Taudul
805d4bf6fd Better table sizing flags? 2026-01-17 01:55:26 +01:00
David Kern
0a438193ba fix: 2x scaling on macos with ImGui 1.92 2026-01-15 17:01:40 -08:00
Bartosz Taudul
00ce663136 Allow attaching symbol source code to LLM, with execution costs. 2026-01-15 22:14:10 +01:00
Bartosz Taudul
2bc09a42cb Use contains(). 2026-01-15 21:56:19 +01:00
Bartosz Taudul
a34d7fb01a Add icons to models. 2026-01-15 21:40:47 +01:00
Bartosz Taudul
c4207dec75 Allow attaching source code to LLM in simple view. 2026-01-15 21:38:12 +01:00
Bartosz Taudul
ef77600bae Description is optional. 2026-01-15 20:55:13 +01:00
Bartosz Taudul
eeacbac8bc Workaround issues with LM Studio.
LM Studio will prefix the assistant's content with '\n\n'. While this is
not a problem when proper text follows (the markdown parser will ignore
this), the empty check does fail.
2026-01-15 17:59:00 +01:00
Bartosz Taudul
fc63779b18 Reduce nested divs in retrieved webpages. 2026-01-15 02:37:47 +01:00
Bartosz Taudul
3817db0dc2 Fix newline removal in retrieved webpages. 2026-01-15 02:33:45 +01:00
Bartosz Taudul
fa8a57af86 Include search excerpt in wikipedia search results.
This directly references the search keywords in articles that may seem
unrelated based on their title or description alone.
2026-01-15 02:25:03 +01:00
Bartosz Taudul
01d1850b0f Return 10 results in wikipedia search. 2026-01-15 02:22:08 +01:00
Bartosz Taudul
c153f598b6 Request prompt caching. 2026-01-14 18:48:28 +01:00
Bartosz Taudul
23e752a03b Rework LLM summary error display in callstack window. 2026-01-14 02:50:09 +01:00
Bartosz Taudul
828d32521d Return proper error response from TracyLlmApi::SendMessage(). 2026-01-14 02:49:38 +01:00
Bartosz Taudul
227c7133c3 Add animated waiting dots in place of ellipsis in call stack window. 2026-01-14 02:25:00 +01:00
Bartosz Taudul
b19d9622b3 Add small version of DrawWaitingDots().
The normal one is fit for lines with full size buttons, entry fields, etc.
2026-01-14 02:24:02 +01:00
Bartosz Taudul
5b568d7bce Add in-line waiting dots drawer. 2026-01-14 02:17:56 +01:00
Bartosz Taudul
a991b4fd50 Cosmetics. 2026-01-14 02:14:25 +01:00