Repository navigation
Conversation
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Host-managed model offerings lose their upstream capabilities in the frontend.
HostProvider.refreshModelssynthesizes anopengui-offeringconnection with only{ displayName, reasoning: true }. Consequently,connectionsToModelProvidersfalls back tonone/higheven when the upstream catalog declares a different supported effort list.Looking up capabilities solely in the frontend would not work for members: their offering payload intentionally omits backend and upstream model IDs.
Fix
resolveModelOfferingForUsepath.reasoning,reasoningEfforts, andcontextfrom the global Host connection's upstream metadata. No endpoint, credentials, compatibility options, or additional route details are exposed.offeringsToModelConnectionsto preserve capabilities through the picker projection.Regression coverage
minimal/low/medium/high/xhigh/maxand context.Validation
On current upstream master (
9b82159):pnpm vp check: passed (format, lint, types).pnpm run slop-check: passed.personal-subscriptions.integration.test.ts→uses the Host Codex credential for an entitled offering when the member also has personal Codex, atmemberModels[0]!.id(line 379). Re-ran that suite on unchanged master with the entire PR patch removed: the same failure. Not addressed here to keep this PR focused.Deployment note
The same focused fix is already deployed on our self-hosted instance in a derived Docker image preserving existing deployment customizations. Health check and public HTTP returned healthy/200. No authenticated owner/member browser verification was performed; that remains a manual check. Deployment-only files and operational lock cleanup are not included in this PR.
Manual verification
none/highpair.