Repository navigation
fix(studio): Build chat on a playground says AI is left out, not unreachable - #122
Merged
Merged
Conversation
…achable The playground blocks AI by design (RFC-0036 §5), so Build chat showed "This deployment can't reach Workers AI" there. It now shows "Available in your own install" with a deploy link. The empty states move into BuildChatOff (BuildChat shrinks under the size limit). Translations are AI drafts awaiting review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Madraka <8898640+Madraka@users.noreply.github.com>
2 of 3 tasks
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.
What
On try.cloudhal.com, the Build page said "This deployment can't reach Workers AI". The playground leaves AI out by design (RFC-0036 §5), so that read like a broken deployment. On a playground, Build chat now says "Available in your own install" ("Build with AI" runs on Workers AI, which the playground leaves out) and links to deploying Cloudhal (
features.playground.deployUrl), like the other screens a playground leaves out.BuildChat's waiting states (loading, playground, unreachable, off) move intoBuildChatOff.BuildChatgoes from 209 to 200 lines (size baseline updated).build.chat.playgroundHint. The 18 other languages are AI drafts awaiting review, added throughpnpm i18n:export/i18n:import, and each uses that language's existing name for "Build with AI".build-chat.test.tsx: the fetch mock now answers/api/instance, and a new test covers the playground case.This is the Workers AI half of the playground item. The other half, the broken demo image, is fixed in cloudhal-dev/try#6. Studio's sandboxed preview sends no session cookie, so the playground answered
/media/…with a redirect. The try repo also needs the version bump once this ships.Checklist
design:lint, size check and the i18n tests pass locally@cloudhal/clipatch, which ships Studio)🤖 Generated with Claude Code