Commit 2e5abc0
committed
Request Parser Updates:
- Add dummy empty reasoning_content field to assistant since it's an error for deepseek if it's missing
- Remove tool_call messages with empty arrays since it's a litellm error to have that1 parent f2b555b commit 2e5abc0
2 files changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2819 | 2819 | | |
2820 | 2820 | | |
2821 | 2821 | | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
2822 | 2825 | | |
2823 | 2826 | | |
2824 | 2827 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
4 | 35 | | |
5 | 36 | | |
6 | 37 | | |
| |||
40 | 71 | | |
41 | 72 | | |
42 | 73 | | |
| 74 | + | |
43 | 75 | | |
44 | | - | |
| 76 | + | |
45 | 77 | | |
0 commit comments