Bartosz Taudul 189a4fc203 Glue together adjacent user messages.
In most cases this is not needed. However, some models, like Gemma3 or
Devstral require that user and assistant messages alternate.

The only case where this can happen in Tracy is when an attachment is added:

[
  {
    "role": "user",
    "content": "<attachment>\n..."
  },
  {
    "role": "user",
    "content": "Tell me something about..."
  }
]

It is trivial to glue these messages together. This is only done when sending
the data in the REST request, as the chat rendering logic expects these to be
separate and it would be too much work unnecessary work to do it "proper".
2026-01-05 13:45:50 +01:00
2025-07-12 18:20:28 +02:00
2025-07-11 23:23:31 +02:00
2025-12-29 20:46:48 +01:00
2024-05-25 00:16:29 +02:00
2024-05-12 19:23:18 +02:00
2023-10-09 22:38:04 +02:00
2022-04-16 00:13:10 +02:00
2025-07-12 11:50:08 +02:00
2025-12-31 15:28:05 +01:00
2026-01-03 22:19:49 +01:00
2025-12-11 23:46:02 +01:00
2025-12-28 15:01:00 +01:00
2025-07-27 21:18:57 +02:00
2025-07-12 11:50:11 +02:00
2024-09-27 16:56:55 +02:00
2026-01-01 02:12:05 +01:00
2025-12-11 23:46:02 +01:00

Tracy Profiler

Sponsor

A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.

Tracy supports profiling CPU (Direct support is provided for C, C++, Lua, Python and Fortran integration. At the same time, third-party bindings to many other languages exist on the internet, such as Rust, Zig, C#, OCaml, Odin, etc.), GPU (All major graphic APIs: OpenGL, Vulkan, Direct3D 11/12, Metal, OpenCL, CUDA.), memory allocations, locks, context switches, automatically attribute screenshots to captured frames, and much more.

An Introduction to Tracy Profiler in C++ - Marcos Slomp - CppCon 2023

Introduction to Tracy Profiler v0.2
New features in Tracy Profiler v0.3
New features in Tracy Profiler v0.4
New features in Tracy Profiler v0.5
New features in Tracy Profiler v0.6
New features in Tracy Profiler v0.7
New features in Tracy Profiler v0.8

Description
No description provided
Readme BSD-3-Clause 83 MiB
Languages
C++ 89.9%
C 5.3%
TeX 2.4%
Python 1.1%
CMake 0.7%
Other 0.4%