Skip to content

Conversation

VincentLanglet
Copy link
Contributor

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

This is a follow up of #514 with a suggestion of using TranslatableMessage instance for prompts rather than the need in SystemPromptInputProcessor constructor of

  • A boolean enableTranslation
  • A domain

Since we're passing a TranslatableMessage this also allow to use translation parameters.

cc @OskarStark that was the suggestion in #514 (comment)

@carsonbot carsonbot changed the title Allow translatable prompts in SystemPromptInputProcessor Allow translatable prompts in SystemPromptInputProcessor Sep 18, 2025
@OskarStark OskarStark added the Agent Issues & PRs about the AI Agent component label Sep 18, 2025
@carsonbot carsonbot changed the title Allow translatable prompts in SystemPromptInputProcessor [Agent] Allow translatable prompts in SystemPromptInputProcessor Sep 18, 2025
@OskarStark OskarStark changed the title [Agent] Allow translatable prompts in SystemPromptInputProcessor [Agent] Allow translatable prompts in SystemPromptInputProcessor Sep 23, 2025
Copy link
Contributor

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

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

LGTM after CI is green and do we need some docs?

@VincentLanglet VincentLanglet force-pushed the translatablePrompts branch 5 times, most recently from cc2e7c8 to 03f004f Compare September 26, 2025 23:45
@VincentLanglet
Copy link
Contributor Author

LGTM after CI is green and do we need some docs?

Indeed, I forgot the ci, it's fixed now @OskarStark.

For the doc, #514 didn't introduce any so there is nothing to update.
It's mainly a change about how the ai-bundle transform the config.
Also I feel like the constructor is self-documenting himself

@OskarStark
Copy link
Contributor

Thank you @VincentLanglet.

@OskarStark OskarStark merged commit 0fb7ad4 into symfony:main Sep 27, 2025
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agent Issues & PRs about the AI Agent component Feature New feature Status: Reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants