Repository navigation
Studio: show how to call the Decision API from code - #16499
Conversation
|
Reached Codex review convergence at NilayYadav#1096 on 91242cf. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3f6c625f78
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
The Decision tab under Settings, API, Quickstart was the only example tab with no code. It showed the model settings, but no request, no base URL and no token, so calling a decision model meant going to the docs and working the rest out by hand. The MCP address was never shown either, and the Try dialog had no way to take a working request out of Studio.
The tab now has a Call it from code block with curl, Python and JavaScript examples, using the TypeSafe SDK for the last two. It uses the same language and platform choices as the other tabs, and fills in the address Studio is open on and any token just created. The MCP URL sits below it on that same address, so it also works over LAN or a tunnel. The JSON view in Try gains Copy body and Copy as cURL, which copy the request as edited.
Before / after
Settings, API, Quickstart, Decision tab on a fresh install of each side (merge base
8d2d7b644vs head429658d56). Before, the tab has only the model settings. After, it adds the curl, Python and JavaScript examples aimed at the address Studio is open on, and the MCP URL on that same address and port.