Commit 3293d47
committed
wip
- Fix: Conditional chat_template_stage construction in legacy coercion
- The logic unconditionally set `chat_template_stage` to a default dict
even when no legacy fields were present. This bypassed the Field default.
- Now it only constructs the stage config if legacy fields are actually detected.
Signed-off-by: Nikhil Ghosh <nikhil@anyscale.com>1 parent 4e35742 commit 3293d47
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
0 commit comments