Add the Cloud plugin and AI Gateway - #1034
Draft
ymichael wants to merge 2 commits into
Draft
Conversation
ymichael
force-pushed
the
bb/plan-for-metadata-inference-thr_ujvarx7qmi
branch
5 times, most recently
from
August 7, 2026 17:21
7ec0718 to
957737d
Compare
ymichael
force-pushed
the
bb/plan-for-metadata-inference-thr_ujvarx7qmi
branch
from
August 7, 2026 23:06
60fdd90 to
705d727
Compare
ymichael
force-pushed
the
bb/local-cloud-development
branch
from
August 8, 2026 00:01
bbf0b34 to
be8e538
Compare
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.
Summary
connectand thebb connectcommandResponsibility boundaries
Contract changes
cloudAi: booleanto the server-backed experiments contract; it defaults to falsePOST /api/connect/ai/inferenceandPOST /api/connect/ai/transcription@bb/connect-clientcloudAiEnabledto Connect status,setCloudAiRPC, andbb connect ai [on|off]bb connectcompatibilityData model
system_experiments.cloud_ai, non-null with a false defaultai_usage, keyed by user and UTC day, storing estimated aggregate spend in micro-USDcloudAiEnabled, defaulting to true when absent, as the inner routing switchLifecycle and fallback
Verification