Skip to content

Conversation

@OskarStark
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
Docs? no
Issues Follows #509
License MIT

@OskarStark OskarStark self-assigned this Sep 11, 2025
@OskarStark OskarStark added the AI Bundle Issues & PRs about the AI integration bundle label Sep 11, 2025
@carsonbot carsonbot changed the title [AiBundle] Set agent name from configuration key [AI Bundle][AiBundle] Set agent name from configuration key Sep 11, 2025
Ensure agents have their name properly set from the configuration key.
The Agent constructor's name parameter (argument 4) and the ai.agent
tag both use the configuration key as the agent name.

This allows Agent.getName() to return the configuration key and enables
proper service discovery through tagged locators (e.g., ChatCommand).
@OskarStark OskarStark merged commit a29a7b2 into symfony:main Sep 11, 2025
12 checks passed
@OskarStark OskarStark deleted the name-configurable branch September 11, 2025 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Bundle Issues & PRs about the AI integration bundle Feature New feature Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants