Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

franzwilding
Copy link
Contributor

Q A
Bug fix? yes
New feature? No
Docs? No
License MIT

This PR removes the injection of the default contract in order to allow the platform factories to create their own contracts per default.

@carsonbot carsonbot added Bug Something isn't working Status: Needs Review labels Oct 16, 2025
@carsonbot carsonbot changed the title Fix contract injection issue Fix contract injection issue Oct 16, 2025
$platform['host'],
new Reference($platform['http_client'], ContainerInterface::NULL_ON_INVALID_REFERENCE),
new Reference('ai.platform.model_catalog.elevenlabs'),
new Reference('ai.platform.contract.default'),
Copy link
Contributor

Choose a reason for hiding this comment

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

so should we remove the ai.platform.contract.default definition, too?

@franzwilding
Copy link
Contributor Author

@OskarStark you are right! The service isn't used anywhere anymore. I removed it.

@OskarStark OskarStark force-pushed the feature/do-not-inject-default-contract branch from 156027c to 7c131b2 Compare October 16, 2025 21:02
@OskarStark
Copy link
Contributor

Thank you @franzwilding.

@OskarStark OskarStark merged commit 8226b5e into symfony:main Oct 16, 2025
14 checks passed
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: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.