betterwithage commited on
Commit
e6182b6
·
verified ·
1 Parent(s): b687f61

F2 fix: drop string workspace from /classify body (was 500ing the verdict sphere)

Browse files

F2 Factory3D + AutoReview3D enhancements — direct Space push. Doctrine: locked=8 @ c7c0ba17; Lambda=Conjecture 1 < 1.0; 0 runtime CDN; signed receipts real; trust < 100%.

Files changed (1) hide show
  1. web/autoreview.html +2 -2
web/autoreview.html CHANGED
@@ -588,12 +588,12 @@ try{ if(window.SZLLabels&&SZLLabels.auditText){
588
  if (btn) { btn.disabled = true; }
589
  var verdEl = Q("ar3d-verdict");
590
  if (verdEl) { verdEl.textContent = "classifying…"; }
 
591
  var body = {
592
  intent: (Q("ar3d-intent") || {}).value || "",
593
  tool: (Q("ar3d-tool") || {}).value || "",
594
  tool_input: (Q("ar3d-input") || {}).value || "",
595
- dial: dial,
596
- workspace: "demo"
597
  };
598
  return postj(BASE + "/classify", body).then(function (d) {
599
  var lam = (typeof d.lambda_effective === "number") ? d.lambda_effective : 0.5;
 
588
  if (btn) { btn.disabled = true; }
589
  var verdEl = Q("ar3d-verdict");
590
  if (verdEl) { verdEl.textContent = "classifying…"; }
591
+ // NOTE: /classify treats `workspace` as an object; omit it (string 500s the endpoint).
592
  var body = {
593
  intent: (Q("ar3d-intent") || {}).value || "",
594
  tool: (Q("ar3d-tool") || {}).value || "",
595
  tool_input: (Q("ar3d-input") || {}).value || "",
596
+ dial: dial
 
597
  };
598
  return postj(BASE + "/classify", body).then(function (d) {
599
  var lam = (typeof d.lambda_effective === "number") ? d.lambda_effective : 0.5;