Commit Graph

9075 Commits

Author SHA1 Message Date
Bartosz Taudul
b51ed462f7 Handle response failure. 2025-07-12 11:50:27 +02:00
Bartosz Taudul
ca02df8ad5 Ignore spaces after <think> and <tool> tags. 2025-07-12 11:50:27 +02:00
Bartosz Taudul
91cfc2e5b8 Move jump range calculation to a separate function. 2025-07-12 11:50:26 +02:00
Bartosz Taudul
76fd44ea8a Add function for attaching data to LLM chat. 2025-07-12 11:50:26 +02:00
Bartosz Taudul
9b0bb7cfda Refine system prompt. 2025-07-12 11:50:26 +02:00
Bartosz Taudul
dabfa36913 Display attachment type. 2025-07-12 11:50:26 +02:00
Bartosz Taudul
5d653551b9 Add icon for each single attachment / error. 2025-07-12 11:50:26 +02:00
Bartosz Taudul
96a13f2a45 Move markdown logic to a separate file. 2025-07-12 11:50:26 +02:00
Bartosz Taudul
6419a01849 Refine wording. 2025-07-12 11:50:26 +02:00
Bartosz Taudul
1aa27c81ac Remove call stack text from system prompt. 2025-07-12 11:50:26 +02:00
Bartosz Taudul
f3c066cc69 More explicit local / network tool split. 2025-07-12 11:50:25 +02:00
Bartosz Taudul
b4692740aa Add source_file tool. 2025-07-12 11:50:25 +02:00
Bartosz Taudul
b2122e7d41 Move SplitLines to TracyUtility.cpp. 2025-07-12 11:50:25 +02:00
Bartosz Taudul
0b8f7344e6 Don't create intermediate string. 2025-07-12 11:50:25 +02:00
Bartosz Taudul
712fd3b58a Update system prompt. 2025-07-12 11:50:25 +02:00
Bartosz Taudul
5d7695cbce Allow attaching call stacks for the AI chat. 2025-07-12 11:50:25 +02:00
Bartosz Taudul
a09f1b2d15 Implement attachments in chat. 2025-07-12 11:50:25 +02:00
Bartosz Taudul
1e508f0b44 Implement removing chat messages. 2025-07-12 11:50:25 +02:00
Bartosz Taudul
8b2de04cd9 Chat message removal UI. 2025-07-12 11:50:25 +02:00
Bartosz Taudul
764348be79 Trim section title and newlines from manual sections. 2025-07-12 11:50:24 +02:00
Bartosz Taudul
80a10a9095 Better context delivery for manual sections. 2025-07-12 11:50:24 +02:00
Bartosz Taudul
ed1f64d001 Disable send button when there's no input. 2025-07-12 11:50:24 +02:00
Bartosz Taudul
1183364812 Add warning. 2025-07-12 11:50:24 +02:00
Bartosz Taudul
d67d37de8e Request verbose user manual search queries. 2025-07-12 11:50:24 +02:00
Bartosz Taudul
25c85ad853 No images (at least for now). 2025-07-12 11:50:24 +02:00
Bartosz Taudul
1f87cd3b17 Update tool use examples. 2025-07-12 11:50:24 +02:00
Bartosz Taudul
ebc25665bd Update markdown manual. 2025-07-12 11:50:24 +02:00
Bartosz Taudul
7ce42a7df8 Bump usearch to 2.17.11. 2025-07-12 11:50:23 +02:00
Bartosz Taudul
67d1c8b8b8 Small batch size. 2025-07-12 11:50:23 +02:00
Bartosz Taudul
7e0476a641 Fail when embeddings were not calculated. 2025-07-12 11:50:23 +02:00
Bartosz Taudul
2578a0c04a URL encode already handles spaces. 2025-07-12 11:50:23 +02:00
Bartosz Taudul
9c831471a3 Refine system prompt. 2025-07-12 11:50:23 +02:00
Bartosz Taudul
017e050f09 Reword user manual query description. 2025-07-12 11:50:23 +02:00
Bartosz Taudul
845933040d Perform tool calls with json. 2025-07-12 11:50:23 +02:00
Bartosz Taudul
1b24f60ac1 Group lines with no empty line separator between them together. 2025-07-12 11:50:23 +02:00
Bartosz Taudul
3ecac21db9 Filter out manual lines with no usable content. 2025-07-12 11:50:22 +02:00
Bartosz Taudul
c9d70b7f67 Remove ollama-specific image support. 2025-07-12 11:50:22 +02:00
Bartosz Taudul
c443f4fc64 Relax newline requirements around <think> and <tool> tags. 2025-07-12 11:50:22 +02:00
Bartosz Taudul
67419ee931 Don't force newline in injected <think> tag.
Fixes qwen3 models.
2025-07-12 11:50:22 +02:00
Bartosz Taudul
555966e1b1 Handle no embeddings response. 2025-07-12 11:50:22 +02:00
Bartosz Taudul
3504f485dd Add support for google search API. 2025-07-12 11:50:22 +02:00
Bartosz Taudul
43d94a3cc3 Crash fix. 2025-07-12 11:50:22 +02:00
Bartosz Taudul
6255b4c67c Move current time back to system prompt. 2025-07-12 11:50:22 +02:00
Bartosz Taudul
f04dcc7c42 Don't display model quantization when it's not known. 2025-07-12 11:50:22 +02:00
Bartosz Taudul
14cc545efd Get context size with llama-swap. 2025-07-12 11:50:21 +02:00
Bartosz Taudul
e2ba66cf04 Detect llama-swap, match embedding models by name. 2025-07-12 11:50:21 +02:00
Bartosz Taudul
c35a75f86c Fix crash when embedding model is no longer available after provider switch. 2025-07-12 11:50:21 +02:00
Bartosz Taudul
b9595add71 Do not repeatedly probe for LLM provider type. 2025-07-12 11:50:21 +02:00
Bartosz Taudul
a84e63d573 Remove cortex from list of predefined LLM servers. 2025-07-12 11:50:21 +02:00
Bartosz Taudul
08fd4aa182 Automatically load embeddings when already calculated. 2025-07-12 11:50:21 +02:00