Commit 19e0aa0
committed
fix: properly initialize session state for Threads number input
Pre-initialize max_threads_override in session state before rendering
the widget, and remove the value parameter to let Streamlit read from
session state. This ensures user changes are properly tracked.
https://claude.ai/code/session_01XGuw7AxoKRWHr9EZX1SDXi1 parent 1665060 commit 19e0aa0
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
1113 | | - | |
1114 | | - | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1115 | 1117 | | |
1116 | 1118 | | |
1117 | 1119 | | |
1118 | | - | |
1119 | 1120 | | |
1120 | 1121 | | |
1121 | 1122 | | |
| |||
0 commit comments