Repository navigation
Commit 6b5b6f1
committed
test(openai-format): cover getReasoningBlockText non-object guard
Add a regression test that passes a non-object content part (a stray
string) through convertToOpenAiMessages, exercising the defensive
early-return in getReasoningBlockText
(line 276). This was the only uncovered line in the PR patch, causing the
codecov/patch check to fail.1 parent a5ff3b3 commit 6b5b6f1
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1215 | 1215 | | |
1216 | 1216 | | |
1217 | 1217 | | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
1218 | 1237 | | |
1219 | 1238 | | |
1220 | 1239 | | |
| |||
0 commit comments