Folding the Scheduler dock into the shared chat left its scope behind, so the troubleshooter has been diagnosing without the log tail for whatever was open

This commit is contained in:
Gmer4Lfe
2026-08-26 17:25:28 -04:00
parent d444fd8036
commit d4c19baa32
+9
View File
@@ -1363,6 +1363,15 @@ vv_ai_profiles_script();
profile: profile, profile: profile,
question: q, question: q,
history: JSON.stringify(sendable()), history: JSON.stringify(sendable()),
// Where the caller is standing, so a question can say "this setting" and mean it. The
// backend whitelists it and passes it to the worker, which turns it into a location
// line; a page that sets no scope sends '' and the worker omits that line.
//
// Keep this here. The scope-aware dock in 185abdb sent it from the page's own ask call;
// 8eeb4c3 folded that dock into this component and the line did not come with it, so
// for the whole of that window Scheduler computed a scope, re-read it at send time, and
// the model never saw it. Nothing errored — the answer just arrived ungrounded.
scope: (typeof o.scope === 'function' ? o.scope() : (o.scope || '')),
kind: (PROFILES[profile].kind && kindEl) ? kindEl.value : '', kind: (PROFILES[profile].kind && kindEl) ? kindEl.value : '',
// A checkbox where the page offers one, otherwise whatever the page decides from the // A checkbox where the page offers one, otherwise whatever the page decides from the
// profile, otherwise on. The Scheduler reasons only when diagnosing: working out what a // profile, otherwise on. The Scheduler reasons only when diagnosing: working out what a