Skip to content

Conversation

VincentLanglet
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
Docs? no
Issues Fix #...
License MIT

@chr-hertel
Copy link
Member

Thank you @VincentLanglet.

@chr-hertel chr-hertel merged commit 5ba97a6 into symfony:main Sep 3, 2025
8 checks passed
@VincentLanglet
Copy link
Contributor Author

What could be nice (to avoid such regression) @chr-hertel is some functional test about the AiBundle config.

Does someone plan to work on it ? (Maybe while the hackathon ?)

@OskarStark
Copy link
Contributor

Thanks!
Can you open an issue about the integration tests?

OskarStark added a commit to OskarStark/ai that referenced this pull request Sep 4, 2025
This commit adds comprehensive tests for processor configuration to ensure
that processor tags always use the full agent ID (ai.agent.{name}) instead
of just the agent name. This prevents regressions like the one fixed in symfony#428.

The tests cover:
- Tool processor tags for specific and default toolboxes
- Structured output processor tags
- System prompt processor tags
- Token usage processor tags
- Multiple agents with their own processors
- Special characters in agent names

Co-Authored-By: Claude <noreply@anthropic.com>
OskarStark added a commit to OskarStark/ai that referenced this pull request Sep 4, 2025
This commit adds comprehensive tests for processor configuration to ensure
that processor tags always use the full agent ID (ai.agent.{name}) instead
of just the agent name. This prevents regressions like the one fixed in symfony#428.

The tests cover:
- Tool processor tags for specific and default toolboxes
- Structured output processor tags
- System prompt processor tags
- Token usage processor tags
- Multiple agents with their own processors
- Special characters in agent names

Co-Authored-By: Claude <noreply@anthropic.com>
OskarStark added a commit to OskarStark/ai that referenced this pull request Sep 4, 2025
This commit adds comprehensive tests for processor configuration to ensure
that processor tags always use the full agent ID (ai.agent.{name}) instead
of just the agent name. This prevents regressions like the one fixed in symfony#428.

The tests cover:
- Tool processor tags for specific and default toolboxes
- Structured output processor tags
- System prompt processor tags
- Token usage processor tags
- Multiple agents with their own processors
- Special characters in agent names

Co-Authored-By: Claude <noreply@anthropic.com>
OskarStark added a commit to OskarStark/ai that referenced this pull request Sep 4, 2025
This commit adds comprehensive tests to AiBundleTest that verify processor
tags use the full agent ID (ai.agent.{name}) instead of just the agent name.

The tests cover:
- Tool processor tags (for both specific and default toolboxes)
- Structured output processor tags
- System prompt processor tags
- Token usage processor tags
- Multiple agents with their own processors

These tests ensure the fix from PR symfony#428 continues to work correctly.
OskarStark added a commit to OskarStark/ai that referenced this pull request Sep 4, 2025
This commit adds comprehensive tests to AiBundleTest that verify processor
tags use the full agent ID (ai.agent.{name}) instead of just the agent name.

The tests cover:
- Tool processor tags (for both specific and default toolboxes)
- Structured output processor tags
- System prompt processor tags
- Token usage processor tags
- Multiple agents with their own processors

These tests ensure the fix from PR symfony#428 continues to work correctly.
OskarStark added a commit to OskarStark/ai that referenced this pull request Sep 4, 2025
This commit adds comprehensive tests to AiBundleTest that verify processor
tags use the full agent ID (ai.agent.{name}) instead of just the agent name.

The tests cover:
- Tool processor tags (for both specific and default toolboxes)
- Structured output processor tags
- System prompt processor tags
- Token usage processor tags
- Multiple agents with their own processors

These tests ensure the fix from PR symfony#428 continues to work correctly.
Tests use TestDox attributes for better documentation.
OskarStark added a commit that referenced this pull request Sep 4, 2025
This PR was squashed before being merged into the main branch.

Discussion
----------

[AI Bundle] Add tests for processors

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Docs?         | no
| Issues        | Follows #428
| License       | MIT

cc `@VincentLanglet`

Commits
-------

c43991b [AI Bundle] Add tests for processors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Status: Reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants