Commit Graph

9455 Commits

Author SHA1 Message Date
Bartosz Taudul
5bc2e4b95c Implement full user name retrieval on win32. 2025-12-30 15:17:08 +01:00
Bartosz Taudul
9016911a04 Fix clash with winapi define crap. 2025-12-30 14:49:23 +01:00
Bartosz Taudul
4661233904 Add missing include for UNLEN definition. 2025-12-30 14:48:17 +01:00
Bartosz Taudul
f6ba6cbd4e Fix typo. 2025-12-30 14:48:11 +01:00
Bartosz Taudul
20b9d002dc Check for empty full name. 2025-12-30 14:23:37 +01:00
Bartosz Taudul
94c1614416 Store full user name in trace info. 2025-12-30 14:19:40 +01:00
Bartosz Taudul
e1b426efe6 Pass full user name to LLM. 2025-12-30 14:17:10 +01:00
Bartosz Taudul
299b641173 Implement getting full user name. 2025-12-30 14:16:53 +01:00
Bartosz Taudul
6933780aed Provide current user name to the LLM. 2025-12-30 13:52:33 +01:00
Bartosz Taudul
da85325686 Move user name retrieval to a common API. 2025-12-30 13:41:19 +01:00
Bartosz Taudul
6a26472278 Reformulate current time statement. 2025-12-30 13:26:23 +01:00
Bartosz Taudul
47806d00c8 Don't mention tool use. 2025-12-30 13:22:31 +01:00
Bartosz Taudul
fc35fa6a1d Give instructions to use multiple tools. 2025-12-30 01:50:31 +01:00
Bartosz Taudul
e889fa17f3 Bump usearch to 2.22.0. 2025-12-29 20:46:48 +01:00
Bartosz Taudul
c996c67390 Take the thinking and tool use context into account in LLM chat rendering. 2025-12-29 20:43:28 +01:00
Bartosz Taudul
ac5dabbb94 Drop user debug role. 2025-12-29 20:43:28 +01:00
Bartosz Taudul
cd9585d713 Less verbose system prompt. 2025-12-29 20:43:28 +01:00
Bartosz Taudul
237e90fe64 Adapt context management to tool role usage. 2025-12-29 20:43:27 +01:00
Bartosz Taudul
7a43036e6e Process tool calls table and respond with tool role. 2025-12-29 20:43:27 +01:00
Bartosz Taudul
26cf9591e7 Remove tool and thinking instructions from the system prompt. 2025-12-29 20:43:27 +01:00
Bartosz Taudul
167779392c Include reasoning in context removal calculation.
The calculations here are so-so at best. The only reliable source of context
usage are the server responses.
2025-12-29 20:43:27 +01:00
Bartosz Taudul
fe567e5b42 Add support for streaming reasoning and tool call responses. 2025-12-29 20:43:27 +01:00
Bartosz Taudul
edffd4af81 Check for content being available when deleting user message. 2025-12-29 20:43:27 +01:00
Bartosz Taudul
f4f3c63755 Move time information to system prompt.
This also changes the context of the information a bit. Previously it was
the current time, now it is the time when the conversation started.
2025-12-29 20:43:27 +01:00
Bartosz Taudul
0a983cb24c Check for "content" in error and attachment messages. 2025-12-29 20:43:27 +01:00
Bartosz Taudul
dedc50e848 Support adding messages completely defined by json. 2025-12-29 20:43:26 +01:00
Bartosz Taudul
c9443db053 Provide LLM tools using a standard API. 2025-12-29 20:43:26 +01:00
Bartosz Taudul
e7288604ea Including ranges is not necessary. 2025-12-29 20:43:26 +01:00
Bartosz Taudul
79ee17d2f6 Inject current time into each user message.
This is not removed later on, mainly to enable caching of previous replies
(changing any earlier message would require processing everything that's
later), but also to give the LLM a sense of passing time.
2025-12-29 20:43:26 +01:00
Bartosz Taudul
9183aef645 Do not display system prompt injected into user messages. 2025-12-29 20:43:26 +01:00
Bartosz Taudul
0246cec0a7 System reminder is no longer in use. 2025-12-29 20:43:26 +01:00
Bartosz Taudul
d385328a16 Remove prefill of assistant messages.
Does not work with models implementing reasoning in a standarized way.
2025-12-29 20:43:26 +01:00
Bartosz Taudul
1708a88445 Remove AssistantDebug LLM role. 2025-12-29 20:43:25 +01:00
Bartosz Taudul
e2a86c1756 Merge pull request #1246 from slomp/slomp/logstring-fix
fix for TRACY_FIBERS
2025-12-29 20:37:59 +01:00
Marcos Slomp
12fa5aeb5e fix for TRACY_FIBERS 2025-12-29 11:23:08 -08:00
Bartosz Taudul
6f9504c50a Redo message filtering UI. 2025-12-28 16:56:09 +01:00
Bartosz Taudul
2a9ab49d13 Use constexpr for tables. 2025-12-28 16:26:19 +01:00
Bartosz Taudul
f649943e93 Fix text formatting. 2025-12-28 16:03:44 +01:00
Bartosz Taudul
f43b86e3b3 Merge pull request #1180 from siliceum/feature/logging
Support source/severity for messages
2025-12-28 15:17:03 +01:00
Clément Grégoire
5ef64841cc Remove MessageMetadata type and replace by uint8_t everywhere 2025-12-28 15:04:18 +01:00
Clément Grégoire
2df7c53c26 Keep tracy::Profiler::Message in the stack frames that need to be ignored
This may still appear in saved traces.
2025-12-28 15:04:18 +01:00
Clément Grégoire
4cceab5ad8 Remove Profiler::Messsage since it's not part of the public API
This also replaces `___tracy_emit_message*` by `___tracy_emit_logString`.
The `TracyCMessage*` defines no long include the `;`, which may be a breaking change even though we did already require semi-colon since 0.9.0. See #493 and #592
2025-12-28 15:04:05 +01:00
Clément Grégoire
88c926d723 TracyMessage* Macros now use tracy::Profiler::LogString 2025-12-28 15:01:00 +01:00
Clément Grégoire
1a4cdef4b6 Add TracyLog to the test example 2025-12-28 15:01:00 +01:00
Clément Grégoire
f17bd3f444 TracyDebug now uses TracyInternalMessage by default unless TRACY_VERBOSE or TRACY_NO_INTERNAL_MESSAGE is defined 2025-12-28 15:00:59 +01:00
Clément Grégoire
13261b9bdc ETWErrorAction now uses message source and severity 2025-12-28 14:50:41 +01:00
Clément Grégoire
b2a7bb64ff Add tooltip for message source filters 2025-12-28 14:50:41 +01:00
Clément Grégoire
3e99b0e7c2 Add severity name tooltip 2025-12-28 14:50:41 +01:00
Clément Grégoire
a0016be7ff Allow filtering Messages by source and severity 2025-12-28 14:50:41 +01:00
Clément Grégoire
35a05aea62 Optimize message filtering a bit
Instead of decompressing and checking visibility of the thread all the time, cache the previous result.
2025-12-28 14:50:41 +01:00