Repository navigation
Correct the mock AI gateway schema comment - #204
Merged
Merged
Conversation
The mock repeats the user's message in-process and skips account gateway provisioning. The schema accepts that value on any stage. Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
jonbeckman
marked this pull request as ready for review
November 22, 2026 09:21
Contributor
TegamiThis repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under Create a changelog → · Changelog format No changelogs yetThis PR has no pending changelog files. If your changes require a release, add a changelog before merging. Run Managed by Tegami. |
Contributor
🟢 e2e solzero-core: 3 passed, 28 left out by filters1 agent step · 1 replayed from cache Change 1 file changed since 28 tests left out by filters
All 3 tests in 2 files
Tested by e2e 0.23.0 · 1m 2s · local-cloudflare · run artifacts |
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
The schema comment on
aiGatewayLayersaid themockvalue was local e2e only and that it answered Workers AI locally.mockrepeats the user's message in-process (echoCompletioninpackages/api/src/server/effect/services/ai-gateway.ts) and provisions no account AI Gateway (createCloudflareAiGatewaymatchesS0_AI_GATEWAY_LAYER: "mock"). The schema acceptsliveormockon any stage.config/e2e-dev.config.jsoncsetsmock, and a deployed stage config can set it too.The comment now matches that behavior. No runtime behavior changed.
This change has no user-visible effect. It uses the
release:nonelabel and does not add a Tegami entry.Validation
nub run typechecknub run lintnub run formatnub run config:checkwas run on the Effect concurrency branch against the same config files. This pull request does not change config.nub run testwas not run. The comment is the only diff.Checklist
.tegami/release entry, or explained why this pull request usesrelease:none.nub run config:check,nub run typecheck,nub run lint,nub run format, andnub run test.THIRD_PARTY_NOTICES.mdfor new third-party code or separately licensed assets.