Skip to content

Change bundle extension from symfony_ai to ai #148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2025

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Jul 17, 2025

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

This commit updates all service tags, IDs, and references from the symfony_ai prefix to the simpler ai prefix throughout the codebase.

Changes include:

  • Updated all service tags in AIBundle.php (e.g., symfony_ai.platform → ai.platform)
  • Updated service definitions in config/services.php
  • Updated profiler data collector tagged iterators
  • Updated demo application service references in Chat classes
  • Updated demo configuration file references
  • Updated documentation examples in index.rst

This provides a cleaner, more concise naming convention for the bundle's services while maintaining all functionality.

@OskarStark OskarStark added AI Bundle Issues & PRs about the AI integration bundle Demo Issues & PRs about the demo application labels Jul 17, 2025
Copy link
Member

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for rolling it out to include the demo - tested that - still works 👍

But I found some left overs in the Changelog:

- Tool registration via `#[AsTool]` attribute and `symfony_ai.tool` tag
- Input/Output processor registration via `symfony_ai.agent.input_processor` and `symfony_ai.agent.output_processor` tags

@OskarStark
Copy link
Contributor Author

OskarStark commented Jul 17, 2025

We usually don't change old CHANGELOG files, but its not released yet, so yes

This commit updates all service tags, IDs, and references from the
`symfony_ai` prefix to the simpler `ai` prefix throughout the codebase.

Changes include:
- Updated all service tags in AIBundle.php (e.g., symfony_ai.platform → ai.platform)
- Updated service definitions in config/services.php
- Updated profiler data collector tagged iterators
- Updated demo application service references in Chat classes
- Updated demo configuration file references
- Updated documentation examples in index.rst and CLAUDE.md

This provides a cleaner, more concise naming convention for the bundle's
services while maintaining all functionality.
@OskarStark OskarStark force-pushed the change-bundle-extension-to-ai branch from 8072d81 to 5b61c63 Compare July 17, 2025 21:01
@OskarStark OskarStark requested a review from chr-hertel July 17, 2025 21:02
@OskarStark
Copy link
Contributor Author

Done

@chr-hertel
Copy link
Member

Thank you @OskarStark.

@chr-hertel chr-hertel merged commit 6992b9d into symfony:main Jul 17, 2025
13 checks passed
@OskarStark OskarStark deleted the change-bundle-extension-to-ai branch July 17, 2025 21:09
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 Demo Issues & PRs about the demo application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants