Skip to content

[Platform][Albert] Align bridge base_url convention with Generic bridge#2243

Open
jvancoillie wants to merge 1 commit into
symfony:mainfrom
jvancoillie:fix/albert-base-url-convention
Open

[Platform][Albert] Align bridge base_url convention with Generic bridge#2243
jvancoillie wants to merge 1 commit into
symfony:mainfrom
jvancoillie:fix/albert-base-url-convention

Conversation

@jvancoillie

Copy link
Copy Markdown
Contributor

The Albert bridge was requiring the API version in the base URL (e.g. https://example.com/v1) and overriding completionsPath/embeddingsPath to compensate, while Generic and all other bridges expect a bare base URL and include the version in the path (/v1/chat/completions).

Drop the version validation and the path overrides so Albert delegates entirely to Generic defaults, aligning both conventions.

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

@carsonbot carsonbot added Platform Issues & PRs about the AI Platform component Status: Needs Review labels Jun 25, 2026
@OskarStark OskarStark added the BC Break Breaking the Backwards Compatibility Promise label Jun 26, 2026
Comment thread src/platform/src/Bridge/Albert/CHANGELOG.md
Comment thread src/platform/src/Bridge/Albert/Factory.php
@OskarStark OskarStark changed the title [Platform] Align Albert bridge base_url convention with Generic bridge [Platform][Albert] Align bridge base_url convention with Generic bridge Jul 1, 2026
@OskarStark

Copy link
Copy Markdown
Contributor

Please check the failing CI step, thanks

@jvancoillie jvancoillie force-pushed the fix/albert-base-url-convention branch 2 times, most recently from e7b559d to ef05ee8 Compare July 1, 2026 10:11
The Albert bridge was requiring the API version in the base URL (e.g.
https://example.com/v1) and overriding completionsPath/embeddingsPath
to compensate, while Generic and all other bridges expect a bare base
URL and include the version in the path (/v1/chat/completions).

Drop the version validation and the path overrides so Albert delegates
entirely to Generic defaults, aligning both conventions.
@jvancoillie jvancoillie force-pushed the fix/albert-base-url-convention branch from 1d79e17 to c2d3ded Compare July 1, 2026 10:18
@jvancoillie

Copy link
Copy Markdown
Contributor Author

Email fixed, the remaining Resampler.php failure is unrelated to my changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BC Break Breaking the Backwards Compatibility Promise Platform Issues & PRs about the AI Platform component Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Platform] Inconsistent base_url convention between Albert and Generic bridges

3 participants