Christopher Hertel 19b4f6008c bug #1748 [AI Bundle][Profiler] Fix all tools listing duplicates for each agent (DZunke)
This PR was squashed before being merged into the main branch.

Discussion
----------

[AI Bundle][Profiler] Fix all tools listing duplicates for each agent

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Docs?         | no
| Issues        |
| License       | MIT

If one is registering multiple agents the tools listing in the profiler is getting full of duplicates. So, for example, there is a `search_entries` tool and a `entry_detail` tool but you have two different agents and both get all tools, then the "Tools" section in the profiler which should just be a list of all tools available shows each of these tools in double.

I first deduplicated by taking the execution class and method as a unique selling point but had to take also the name into account as, with the names, it is also possible to have multiple tools with the same execution reference but just different names. That popped up as i thought about the subagent tool.

So hopefully `__name__::__class__::__method__` is unique enough for deduplication in the profiler all tools listing in any case.

Commits
-------

75077c5d [AI Bundle][Profiler] Fix all tools listing duplicates for each agent
2026-03-23 00:07:18 +01:00
2025-10-07 17:16:53 +02:00
2025-06-13 14:16:21 +02:00
2025-12-22 16:39:44 +01:00
2025-11-30 12:09:50 +01:00

Symfony AI Bundle

Integration bundle for Symfony AI components.

This Bundle is experimental. Experimental features are not covered by Symfony's Backward Compatibility Promise.

Installation

composer require symfony/ai-bundle

This repository is a READ-ONLY sub-tree split. See https://github.com/symfony/ai to create issues or submit pull requests.

Resources

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:27:21.057Z
Readme MIT 2.5 MiB
Languages
PHP 98.1%
Twig 1.9%