Repository navigation
studio: align tool-call nudge defaults across loops - #9126
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2426ca3cff
ℹ️ 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".
|
Confirmed the external loop in studio/backend/core/inference/studio_tool_loop.py never reads the request flag, so the chat nudge setting is ignored on hosted providers, and routing it through nudge_enabled is the right fix. Will get this reviewed. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! 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". |
|
Targeted A/B CI evidence: fixed run passes all three nudge-policy probes; negative run fails the same probes after reverting only |
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. 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". |
|
Looks good from my side. No open review findings. We also have a clean GitHub runner A/B where the fix passes all three nudge probes and the one commit revert fails them. Python 3.11 and 3.13 are green now. The only failure left is unrelated and already failing on main. |
Summary
passthrough_healing.nudge_enabled()for the GGUF and external Studio tool loops.nudge_tool_callsthrough the externalToolLoopPolicyand the Studio chat adapter.false, and explicittruerequest values.Semantics
UNSLOTH_TOOL_CALL_NUDGE=1.falsedisables nudging.Addresses the remaining nudge/default inconsistency described in #8907. Complements #8946.
Validation
204 passed.341 passed, 1 deselected(the deselected case requires the optional localtransformersdependency).scripts/run_ruff_format.py): passed.47 passed.pre-commit.ciadded one formatting-only change totests/studio/test_backend_ci_parallel_isolation.py; it is bot-generated and unrelated to the behavioral fix.