Repository navigation
Studio: stop normal chat from opening the API monitor - #12305
Merged
Merged
Conversation
Carry the recorded origin in the synthetic request's scope state alongside the cancel event, leaving a single bool check in the classifier, and tighten the related comments. Record the producer-side checks and assert after the run, since assertions raised inside the fake producer were swallowed by the supervisor's error handling. Drop parametrizations that cannot affect the classifier.
Collaborator
|
Pushed two commits on top of this branch:
Verified that the persisted value is derived server-side only (a client-supplied key is rejected with 400, and the route overwrites it), is read only by |
Collaborator
|
Codex review has converged on this PR.
|
Lyxot
approved these changes
Sep 30, 2026
Lyxot
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. The monitor origin is derived server-side at run creation, cannot be supplied by clients, and only feeds API monitor rows and usage receipts. Codex converged and staging CI failures are unrelated.
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.
Fix the API monitor opening after normal signed-in Studio chat when keyless Everything else access is enabled. Background chat requests currently lose the original caller classification and can be mistaken for external API traffic.
Persist the server-derived monitor classification with the run and restore it on the background request. No credentials are persisted, and authentication/authorization behavior is unchanged. Previously persisted runs retain the existing fallback.
Verification
7bacc24d4, after938eac981. The fix merges cleanly with current main.via_api_key=truevia_api_key=falsevia_api_key=trueExternal API control screenshot · Recorded results
These are browser captures, not native desktop screenshots.