Commit Graph

  • 7809e39cac Wrap adding LLM tasks in helper functions. Bartosz Taudul 2025-07-05 17:44:55 +02:00
  • c518de7837 Handle empty think section, repeated think close tags. Bartosz Taudul 2025-07-03 23:56:36 +02:00
  • d0c4e9bc3a Handle multiple tool calls by erroring out. Bartosz Taudul 2025-07-03 23:29:36 +02:00
  • 22281d04ab Update system prompt. Bartosz Taudul 2025-07-01 02:20:35 +02:00
  • 7ffd8310e6 Improve code tokenization estimation. Bartosz Taudul 2025-06-30 01:46:45 +02:00
  • 6c05079e7b Disable LLM settings when the model is responding. Bartosz Taudul 2025-06-29 14:53:37 +02:00
  • 4e8fb7870b Decrease context usage when removing chat content. Bartosz Taudul 2025-06-29 14:08:40 +02:00
  • b54c4f7aa9 Get exact token counts when adding or removing messages. Bartosz Taudul 2025-06-29 13:57:02 +02:00
  • b36b6a0aa2 Implement llama-swap tokenization request. Bartosz Taudul 2025-06-29 13:42:56 +02:00
  • 4969be344e Use exact tokens count when available in server response. Bartosz Taudul 2025-06-29 00:53:03 +02:00
  • 047fa3b98f Remove readability.js support. Bartosz Taudul 2025-06-28 15:05:22 +02:00
  • 154c055fcb Update manual. Bartosz Taudul 2025-06-28 15:02:45 +02:00
  • 2e77045ff7 Rearrange LLM provider presets. Bartosz Taudul 2025-06-28 13:42:36 +02:00
  • 567cd562e4 Fix rendering complex markdown headers. Bartosz Taudul 2025-06-28 01:33:19 +02:00
  • b84f1407d4 Ask for donations. Bartosz Taudul 2025-06-28 00:58:10 +02:00
  • dee495cefc Add embedding prefixes required by the nomic-embed-text model. Bartosz Taudul 2025-06-28 00:51:07 +02:00
  • c893954da7 Add missing switch case break. Bartosz Taudul 2025-06-28 00:46:08 +02:00
  • 7252c6b41e Add spacing before markdown headers. Bartosz Taudul 2025-06-25 02:19:43 +02:00
  • 0b9ea6f650 Refine system prompt. Bartosz Taudul 2025-06-24 01:51:36 +02:00
  • fcfbd9810a Add md extension to system prompt files, to get coloring in editor. Bartosz Taudul 2025-06-24 00:53:44 +02:00
  • 55dc632b10 Handle HTTP errors. Bartosz Taudul 2025-06-22 21:38:21 +02:00
  • 20182e88cd Sort models list. Bartosz Taudul 2025-06-22 21:29:18 +02:00
  • 2f1cb512e6 Implement copying chat responses to the clipboard. Bartosz Taudul 2025-06-22 13:37:45 +02:00
  • abef0d76b1 Update manual. Bartosz Taudul 2025-06-21 17:34:26 +02:00
  • f9be40ae7c Update wording. Bartosz Taudul 2025-06-21 17:33:57 +02:00
  • 4f01a43920 Reload InputText buffer. Bartosz Taudul 2025-06-21 11:49:57 +02:00
  • 7a0a0a9749 Add option to regenerate LLM reply. Bartosz Taudul 2025-06-21 00:36:03 +02:00
  • 998ec7941f Clearly indicate that stop operation is in progress. Bartosz Taudul 2025-06-21 00:14:11 +02:00
  • 7ab657a0d5 Refine system prompt. Bartosz Taudul 2025-06-19 20:02:13 +02:00
  • fc840c1d47 Implement attaching assembly loops to LLM chat. Bartosz Taudul 2025-06-19 20:00:49 +02:00
  • 39d624b969 Reinit connection on error. Bartosz Taudul 2025-06-19 17:16:03 +02:00
  • 21ddd99d55 Properly handle error output. Bartosz Taudul 2025-06-19 16:14:01 +02:00
  • b51ed462f7 Handle response failure. Bartosz Taudul 2025-06-19 16:13:36 +02:00
  • ca02df8ad5 Ignore spaces after <think> and <tool> tags. Bartosz Taudul 2025-06-19 13:35:05 +02:00
  • 91cfc2e5b8 Move jump range calculation to a separate function. Bartosz Taudul 2025-06-19 01:32:59 +02:00
  • 76fd44ea8a Add function for attaching data to LLM chat. Bartosz Taudul 2025-06-19 01:24:48 +02:00
  • 9b0bb7cfda Refine system prompt. Bartosz Taudul 2025-06-19 00:47:03 +02:00
  • dabfa36913 Display attachment type. Bartosz Taudul 2025-06-17 01:43:25 +02:00
  • 5d653551b9 Add icon for each single attachment / error. Bartosz Taudul 2025-06-17 01:36:19 +02:00
  • 96a13f2a45 Move markdown logic to a separate file. Bartosz Taudul 2025-06-17 01:28:21 +02:00
  • 6419a01849 Refine wording. Bartosz Taudul 2025-06-16 22:53:00 +02:00
  • 1aa27c81ac Remove call stack text from system prompt. Bartosz Taudul 2025-06-16 22:52:50 +02:00
  • f3c066cc69 More explicit local / network tool split. Bartosz Taudul 2025-06-16 22:52:28 +02:00
  • b4692740aa Add source_file tool. Bartosz Taudul 2025-06-13 01:31:52 +02:00
  • b2122e7d41 Move SplitLines to TracyUtility.cpp. Bartosz Taudul 2025-06-13 00:16:20 +02:00
  • 0b8f7344e6 Don't create intermediate string. Bartosz Taudul 2025-06-13 00:13:18 +02:00
  • 712fd3b58a Update system prompt. Bartosz Taudul 2025-06-12 22:28:23 +02:00
  • 5d7695cbce Allow attaching call stacks for the AI chat. Bartosz Taudul 2025-06-12 22:11:43 +02:00
  • a09f1b2d15 Implement attachments in chat. Bartosz Taudul 2025-06-12 22:11:33 +02:00
  • 1e508f0b44 Implement removing chat messages. Bartosz Taudul 2025-06-12 20:56:35 +02:00
  • 8b2de04cd9 Chat message removal UI. Bartosz Taudul 2025-06-12 20:45:45 +02:00
  • 764348be79 Trim section title and newlines from manual sections. Bartosz Taudul 2025-06-12 19:53:07 +02:00
  • 80a10a9095 Better context delivery for manual sections. Bartosz Taudul 2025-06-12 19:54:00 +02:00
  • ed1f64d001 Disable send button when there's no input. Bartosz Taudul 2025-06-12 18:27:26 +02:00
  • 1183364812 Add warning. Bartosz Taudul 2025-06-12 18:25:36 +02:00
  • d67d37de8e Request verbose user manual search queries. Bartosz Taudul 2025-06-12 18:16:27 +02:00
  • 25c85ad853 No images (at least for now). Bartosz Taudul 2025-06-12 18:15:17 +02:00
  • 1f87cd3b17 Update tool use examples. Bartosz Taudul 2025-06-12 18:14:43 +02:00
  • ebc25665bd Update markdown manual. Bartosz Taudul 2025-06-12 01:04:55 +02:00
  • 7ce42a7df8 Bump usearch to 2.17.11. Bartosz Taudul 2025-06-12 01:03:32 +02:00
  • 67d1c8b8b8 Small batch size. Bartosz Taudul 2025-06-11 23:14:54 +02:00
  • 7e0476a641 Fail when embeddings were not calculated. Bartosz Taudul 2025-06-11 23:06:26 +02:00
  • 2578a0c04a URL encode already handles spaces. Bartosz Taudul 2025-06-09 22:29:04 +02:00
  • 9c831471a3 Refine system prompt. Bartosz Taudul 2025-06-09 22:16:46 +02:00
  • 017e050f09 Reword user manual query description. Bartosz Taudul 2025-06-09 21:33:21 +02:00
  • 845933040d Perform tool calls with json. Bartosz Taudul 2025-06-09 21:25:26 +02:00
  • 1b24f60ac1 Group lines with no empty line separator between them together. Bartosz Taudul 2025-06-09 19:25:51 +02:00
  • 3ecac21db9 Filter out manual lines with no usable content. Bartosz Taudul 2025-06-09 19:18:17 +02:00
  • c9d70b7f67 Remove ollama-specific image support. Bartosz Taudul 2025-06-09 18:16:50 +02:00
  • c443f4fc64 Relax newline requirements around <think> and <tool> tags. Bartosz Taudul 2025-06-09 18:15:24 +02:00
  • 67419ee931 Don't force newline in injected <think> tag. Bartosz Taudul 2025-06-09 18:14:53 +02:00
  • 555966e1b1 Handle no embeddings response. Bartosz Taudul 2025-06-09 17:49:26 +02:00
  • 3504f485dd Add support for google search API. Bartosz Taudul 2025-06-09 01:23:23 +02:00
  • 43d94a3cc3 Crash fix. Bartosz Taudul 2025-06-09 01:21:27 +02:00
  • 6255b4c67c Move current time back to system prompt. Bartosz Taudul 2025-06-08 23:23:09 +02:00
  • f04dcc7c42 Don't display model quantization when it's not known. Bartosz Taudul 2025-06-08 23:06:30 +02:00
  • 14cc545efd Get context size with llama-swap. Bartosz Taudul 2025-06-08 23:05:18 +02:00
  • e2ba66cf04 Detect llama-swap, match embedding models by name. Bartosz Taudul 2025-06-08 21:47:05 +02:00
  • c35a75f86c Fix crash when embedding model is no longer available after provider switch. Bartosz Taudul 2025-06-08 21:12:24 +02:00
  • b9595add71 Do not repeatedly probe for LLM provider type. Bartosz Taudul 2025-06-08 21:10:13 +02:00
  • a84e63d573 Remove cortex from list of predefined LLM servers. Bartosz Taudul 2025-06-08 13:15:13 +02:00
  • 08fd4aa182 Automatically load embeddings when already calculated. Bartosz Taudul 2025-06-08 00:11:33 +02:00
  • e8b6cdb72b Rework embeddings handling. Bartosz Taudul 2025-06-07 23:58:05 +02:00
  • 8259cd6aff Don't waste time calculating embeddings that will be ignored. Bartosz Taudul 2025-06-07 21:18:46 +02:00
  • c641787ed1 Bump usearch to 2.17.9. Bartosz Taudul 2025-06-06 00:47:08 +02:00
  • 0db765a684 Indent list items text. Bartosz Taudul 2025-06-05 18:49:46 +02:00
  • 75c1735695 Fix word wrap when the first continued word requires line break. Bartosz Taudul 2025-06-05 18:42:46 +02:00
  • ddc3d8884f Fix font ranges. Bartosz Taudul 2025-06-05 18:24:19 +02:00
  • 9e593ce61c Support hand pointer mouse cursor on Wayland. Bartosz Taudul 2025-06-05 02:19:59 +02:00
  • 5778c5ef9f Fix code block clashes. Bartosz Taudul 2025-06-05 02:11:39 +02:00
  • fde94e10d4 Implement printing markdown. Bartosz Taudul 2025-06-05 02:03:21 +02:00
  • 5a6b51c245 Track hover status in PrintTextWrapped. Bartosz Taudul 2025-06-05 02:02:25 +02:00
  • 64ec3f6e3f Add spacing after an expanded think section. Bartosz Taudul 2025-06-04 23:10:38 +02:00
  • b521064875 Add spacing between chat turns. Bartosz Taudul 2025-06-04 23:02:08 +02:00
  • de9c90673e Do not copy strings. Bartosz Taudul 2025-06-04 01:00:44 +02:00
  • 295b597835 Load all characters from fonts. Bartosz Taudul 2025-06-03 22:54:39 +02:00
  • 5ccd05d2a5 Rework chat rendering. Bartosz Taudul 2025-06-03 21:39:56 +02:00
  • 33e55c32f7 Remove current time from system prompt. Bartosz Taudul 2025-06-03 01:47:31 +02:00
  • 735ef3b9b8 Use LLM tools through a pointer. Bartosz Taudul 2025-06-03 01:44:29 +02:00
  • 2ffae6c626 Don't repeat text. Bartosz Taudul 2025-06-01 22:25:40 +02:00