You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8ccca16
Browse filesBrowse the repository at this point in the historyBrowse files
- CLI: empty-string --reasoning-efforts stores an explicit no-reasoning ladder;
embedded blank CSV members (low,,high, ,,) are rejected in add and edit; usage
text lists none and minimal
- pi export: max maps to ultra when ultra is the only declared tier (Pi would
otherwise have no selectable level)
- GUI: re-enabling the reasoning override restores the loaded ladder instead of
re-pre-checking every level
- management rows carry the stored defaultReasoningEffort so clients can restore
the full edit state
- catalog test restores globalThis.fetch in a finally block
- management-API tests share one config fixture (seed + follow-up state) and
reset it per test
- docs: US English afterward
// "-" restores inheritance by clearing the stored ladder (null). An explicit empty
74
-
// ladder ("no reasoning") has no CLI shorthand — use the dashboard for that state.
73
+
// "-" restores inheritance by clearing the stored ladder (null); "" stores an explicit
74
+
// empty ladder (the "no reasoning" override, same as the dashboard's uncheck-all).
75
+
// Embedded blank CSV members (`low,,high`, `,,`) are malformed and must be rejected, not
76
+
// silently normalized by csv().
75
77
if(reasoningEffortsRaw!==undefined){
76
78
if(reasoningEffortsRaw==="-"){
77
79
patch.reasoningEfforts=null;
78
80
}else{
79
-
constvalues=csv(reasoningEffortsRaw);
80
-
// csv() silently drops empty members; a value that normalizes to an empty list would
81
-
// otherwise store an explicit "no reasoning" ladder the user never asked for.
82
-
if(!values||values.length===0){
83
-
thrownewCliUsageError("--reasoning-efforts must be comma-separated values from none, minimal, low, medium, high, xhigh, max, ultra (or \"-\" to inherit)",USAGE);
thrownewCliUsageError("--reasoning-efforts must be comma-separated values from none, minimal, low, medium, high, xhigh, max, ultra (\"\" for no reasoning, \"-\" to inherit)",USAGE);
return{error: "--reasoning-efforts must be comma-separated values from none, minimal, low, medium, high, xhigh, max, ultra (or \"-\" to inherit)"};
42
+
if(parts.some(part=>part==="")){
43
+
return{error: "--reasoning-efforts must be comma-separated values from none, minimal, low, medium, high, xhigh, max, ultra (\"\" for no reasoning, \"-\" to inherit)"};
0 commit comments