Commit f032a42
committed
fix: set default sparkEnabled to false for unknown accounts
The fallback default account in session context had sparkEnabled: true,
which contradicts the new whitelist-only-for-pro policy introduced in
readCodexAccountSnapshot. When account/read fails during session startup,
the stale default would incorrectly allow spark model access for users
without a confirmed pro plan.1 parent eb08936 commit f032a42
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
| 483 | + | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| |||
0 commit comments