Commit ce2b574
committed
fix(text): resolve missing Span import for structured output
- Add lazy import function for Span class to handle runtime usage
- Fix NameError in multi-chunk structured output processing
- Maintain TYPE_CHECKING imports for development experience
- All benchmark tests now passing including structured output
- Resolves issue where Span was only available during type checking1 parent 97c61d8 commit ce2b574
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
13 | 26 | | |
14 | 27 | | |
15 | 28 | | |
| |||
172 | 185 | | |
173 | 186 | | |
174 | 187 | | |
175 | | - | |
| 188 | + | |
| 189 | + | |
176 | 190 | | |
177 | 191 | | |
178 | 192 | | |
| |||
0 commit comments