-
-
Notifications
You must be signed in to change notification settings - Fork 142
[Platform] Split bridges into dedicated packages #1093
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
Draft
OskarStark
wants to merge
92
commits into
symfony:main
Choose a base branch
from
OskarStark:OskarStark/split-platform-bridges
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
[Platform] Split bridges into dedicated packages #1093
OskarStark
wants to merge
92
commits into
symfony:main
from
OskarStark:OskarStark/split-platform-bridges
+4,723
−250
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
678f13c to
d20b1cb
Compare
OskarStark
added a commit
to OskarStark/ai
that referenced
this pull request
Dec 9, 2025
OskarStark
added a commit
to OskarStark/ai
that referenced
this pull request
Dec 9, 2025
OskarStark
added a commit
that referenced
this pull request
Dec 9, 2025
…^1.0 (OskarStark) This PR was merged into the main branch. Discussion ---------- [Platform][Bedrock] Allow async-aws/bedrock-runtime to ^1.0 | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | Docs? | no | Issues | -- | License | MIT Commits ------- 3b54b42 minor #1093 [Platform][Bedrock] Allow async-aws/bedrock-runtime ^0.1|^1.0
c770d69 to
09f473a
Compare
7687414 to
b049476
Compare
OskarStark
commented
Dec 10, 2025
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/Anthropic/Tests/Contract/AssistantMessageNormalizerTest.php
Outdated
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/Gemini/Tests/Contract/AssistantMessageNormalizerTest.php
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/Gemini/Tests/Contract/MessageBagNormalizerTest.php
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/HuggingFace/Tests/Contract/MessageBagNormalizerTest.php
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/Ollama/Tests/Contract/AssistantMessageNormalizerTest.php
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/VertexAi/Tests/Contract/UserMessageNormalizerTest.php
Outdated
Show resolved
Hide resolved
OskarStark
commented
Dec 10, 2025
src/platform/src/Bridge/VertexAi/Tests/Contract/AssistantMessageNormalizerTest.php
Show resolved
Hide resolved
c259c9f to
cdf78f6
Compare
Contributor
|
Hey @OskarStark |
795064c to
69c6bc3
Compare
0bdae0e to
72eda9b
Compare
This fixes the "Too many levels of symbolic links" error that occurs when bridge packages depend on symfony/ai-platform which itself has path repositories pointing back to bridges, creating circular symlinks. Using symlink: false forces Composer to copy the package instead of symlinking, breaking the circular dependency chain.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Split all 26 platform bridges into dedicated, independently installable Composer packages following the same structure used for store bridges.
Each bridge now has its own:
composer.jsonwith proper dependenciesREADME.md,CHANGELOG.md,LICENSEphpunit.xml.distfor isolated testing.github/templatesTests moved from
tests/Bridge/{Name}/tosrc/Bridge/{Name}/Tests/with updated namespaces.New Platform Packages
symfony/ai-ai-ml-api-platformsymfony/ai-albert-platformsymfony/ai-anthropic-platformsymfony/ai-azure-platformsymfony/ai-bedrock-platformsymfony/ai-cartesia-platformsymfony/ai-cerebras-platformsymfony/ai-decart-platformsymfony/ai-deep-seek-platformsymfony/ai-docker-model-runner-platformsymfony/ai-eleven-labs-platformsymfony/ai-gemini-platformsymfony/ai-generic-platformsymfony/ai-hugging-face-platformsymfony/ai-lm-studio-platformsymfony/ai-meta-platformsymfony/ai-mistral-platformsymfony/ai-ollama-platformsymfony/ai-open-ai-platformsymfony/ai-open-router-platformsymfony/ai-perplexity-platformsymfony/ai-replicate-platformsymfony/ai-scaleway-platformsymfony/ai-transformers-php-platformsymfony/ai-vertex-ai-platformsymfony/ai-voyage-platformAdditional Changes
willBeAvailablechecks in AiBundle for clearer error messagessymfony/ai-agentdependency for bridges withTokenOutputProcessor