Commit 0b11fb1
committed
Add strict boolean check for use_reasoning flag
Introduces extract_use_reasoning to ensure only explicit boolean True values set the use_reasoning flag, supporting both dict and attribute-style agent objects. Updates agent creation logic to use this stricter check.1 parent 23740ad commit 0b11fb1
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
44 | 54 | | |
45 | 55 | | |
46 | 56 | | |
| |||
80 | 90 | | |
81 | 91 | | |
82 | 92 | | |
83 | | - | |
| 93 | + | |
| 94 | + | |
84 | 95 | | |
85 | 96 | | |
86 | 97 | | |
| |||
0 commit comments