Commit eabbc83
authored
Initialize standard session state namespaces on session creation (#592)
Ensures context, temp, user, and system scopes always exist as
empty dicts so CEL expressions like has(context.experiments) evaluate
to false instead of throwing when no initial_state is provided.
Fixes chatflow preview working without school context.1 parent 1824488 commit eabbc83
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
65 | 74 | | |
66 | 75 | | |
67 | 76 | | |
| |||
0 commit comments