Commit Graph

9145 Commits

Author SHA1 Message Date
Bartosz Taudul
c7c20730cf Fix Worker name conflict. 2025-07-13 01:27:56 +02:00
Bartosz Taudul
3d00f3eda1 Disable LLM on emscripten. 2025-07-13 01:00:08 +02:00
Bartosz Taudul
d1e3d1abb5 Proper support for markdown header font sizes (including style changes). 2025-07-13 00:25:14 +02:00
Bartosz Taudul
9ee6af33a4 Format achievements intro message with markdown. 2025-07-12 23:54:49 +02:00
Bartosz Taudul
70d6d7e756 Fully externalize markdown printer. 2025-07-12 23:42:21 +02:00
Bartosz Taudul
75cfc67972 Add robot icon to default assist view. 2025-07-12 23:28:12 +02:00
Bartosz Taudul
3d183e2da1 Markdown renderer is not strictly an LLM functionality. 2025-07-12 23:26:55 +02:00
Bartosz Taudul
b12253e706 Update CPU data window column labels in the manual. 2025-07-12 20:28:08 +02:00
Bartosz Taudul
00bc533d4d Improve code block style. 2025-07-12 20:08:26 +02:00
Bartosz Taudul
f098102898 Parse source code blocks in markdown. 2025-07-12 20:04:58 +02:00
Bartosz Taudul
5833f0d734 Add SourceContents::Parse() with length argument. 2025-07-12 20:01:27 +02:00
Bartosz Taudul
d4094f45cc Replace all deprecated ImGui functionality. 2025-07-12 19:50:37 +02:00
Bartosz Taudul
78c284cd8f Remove font glyph ranges. 2025-07-12 18:42:08 +02:00
Bartosz Taudul
fdeb33c566 Bump usearch, curl. 2025-07-12 18:27:43 +02:00
Bartosz Taudul
89f246dc07 Bump emscripten SDK to 4.0.10. 2025-07-12 18:20:28 +02:00
Bartosz Taudul
b58388316a Fix emscripten build. 2025-07-12 18:19:56 +02:00
Bartosz Taudul
e77240a47d Workaround broken md4c CMake configuration. 2025-07-12 18:09:31 +02:00
Bartosz Taudul
4a25079996 Disable demo window in release build.
Workarounds ImGui issue 8796.
2025-07-12 17:43:53 +02:00
Bartosz Taudul
bd0591c4d5 Bump ImGui to 1.92.1-docking. 2025-07-12 17:08:13 +02:00
Bartosz Taudul
1dd4c2d670 Update ImGui to 1.92.0-docking. 2025-07-12 14:36:47 +02:00
Bartosz Taudul
d2d50d2cea Fix flame graph limit range button position. 2025-07-12 14:31:15 +02:00
Bartosz Taudul
d2db62ebc3 Change how icons are converted in markdown manual. 2025-07-12 14:25:29 +02:00
Bartosz Taudul
249673660e Remove mouse button images from markdown manual. 2025-07-12 13:41:05 +02:00
Bartosz Taudul
f6f2fa0a0a Fix font awesome icons in markdown manual. 2025-07-12 13:34:22 +02:00
Bartosz Taudul
1e1d9d9a84 Fix \menu, this time properly. 2025-07-12 12:35:37 +02:00
Bartosz Taudul
6058e6ede0 Hackfix section names in markdown manual. 2025-07-12 12:23:48 +02:00
Bartosz Taudul
31815fd45d Remove junk from links in markdown manual. 2025-07-12 11:58:19 +02:00
Bartosz Taudul
ee2ef5c455 Increase number of user manual search results. 2025-07-12 11:50:32 +02:00
Bartosz Taudul
0da4c7e320 Explicit search parameters. 2025-07-12 11:50:32 +02:00
Bartosz Taudul
87c1200c80 Add shell script for latex to markdown conversion. 2025-07-12 11:50:32 +02:00
Bartosz Taudul
c08364779a Update markdown manual. 2025-07-12 11:50:32 +02:00
Bartosz Taudul
55cf0139fd Don't crash on assert when a tool call is missing a parameter. 2025-07-12 11:50:31 +02:00
Bartosz Taudul
818d238f50 Update system prompt to use English names for UI elements. 2025-07-12 11:50:31 +02:00
Bartosz Taudul
d5b36ea7d0 Do not block UI thread when waiting for tokenization.
Erasing chat contens or regenerating assistant reply can still block.
2025-07-12 11:50:31 +02:00
Bartosz Taudul
c9cca586cc Add tokenization job. 2025-07-12 11:50:31 +02:00
Bartosz Taudul
37da8f923b Better handling of responding and stop states. 2025-07-12 11:50:31 +02:00
Bartosz Taudul
50d68f6bae Make current job visible. 2025-07-12 11:50:31 +02:00
Bartosz Taudul
a3b06851d8 The queue should be fifo. 2025-07-12 11:50:31 +02:00
Bartosz Taudul
7809e39cac Wrap adding LLM tasks in helper functions. 2025-07-12 11:50:31 +02:00
Bartosz Taudul
c518de7837 Handle empty think section, repeated think close tags. 2025-07-12 11:50:30 +02:00
Bartosz Taudul
d0c4e9bc3a Handle multiple tool calls by erroring out. 2025-07-12 11:50:30 +02:00
Bartosz Taudul
22281d04ab Update system prompt. 2025-07-12 11:50:30 +02:00
Bartosz Taudul
7ffd8310e6 Improve code tokenization estimation. 2025-07-12 11:50:30 +02:00
Bartosz Taudul
6c05079e7b Disable LLM settings when the model is responding. 2025-07-12 11:50:30 +02:00
Bartosz Taudul
4e8fb7870b Decrease context usage when removing chat content. 2025-07-12 11:50:30 +02:00
Bartosz Taudul
b54c4f7aa9 Get exact token counts when adding or removing messages. 2025-07-12 11:50:30 +02:00
Bartosz Taudul
b36b6a0aa2 Implement llama-swap tokenization request. 2025-07-12 11:50:30 +02:00
Bartosz Taudul
4969be344e Use exact tokens count when available in server response.
Note that this is not really exacy, as it includes system prompt reminder
and possibly other input data that is dynamically injected.
2025-07-12 11:50:29 +02:00
Bartosz Taudul
047fa3b98f Remove readability.js support.
The current method of web retrieval works well enough.
2025-07-12 11:50:29 +02:00
Bartosz Taudul
154c055fcb Update manual. 2025-07-12 11:50:29 +02:00