[AI Bundle] Show configured components and their calls in the profiler panel - #2376
sanya-misharin wants to merge 4 commits into
Conversation
…r panel The data collector already collected the calls of agents, chats, message stores and stores, but the panel rendered none of them and reported a hardcoded number of configured platforms. The traceable services are now tagged with the id of the service they decorate, so the collector can report which components are configured, and the panel renders a section per component with the calls collected for it.
chr-hertel
left a comment
There was a problem hiding this comment.
Valid next step, but untested from my end for chat & message store component - thanks @sanya-misharin!
The toolbar list, the metrics row, the call sections and the configured components table now only cover components that actually have a configured instance, instead of always rendering all six slices.
|
Thanks for testing, @chr-hertel! Fixed in f269f63. Every slice is now gated on the component actually having a configured instance, in all the spots you pointed at, plus the "Configured Components" table that had the same zero rows:
The docs paragraph about the panel mentions this as well now. All screenshots below come from one and the same profiler token, rendered once with the previous template and once with the new one. The demo app configures no chat and no message store, so it reproduces your setup. Toolbar (before / after):
Panel metrics (before / after):
Empty sections (before / after):
Configured Components table (before / after):
|











The profiler panel previously showed only platform calls, tools and tool calls, with the "Configured Platforms" metric hardcoded to
1, while the collector already gathered agent, chat, message store and store calls without rendering them.As proposed in the issue discussion, this PR surfaces everything that is already collected - scoped to
src/ai-bundleonly:message_bagmacro extracted from the platform calls section);A follow-up PR will add
TraceableIndexertosymfony/ai-storeand wire it into the collector.Screenshots (before / after / narrow viewport):