Repository navigation
Commit 643e48c
committed
fix: replay OpenAI web searches inline when not referenced
coder/fantasy#78 now sends a search inline whenever it does not go back
as an item reference, not only when store is false. A stored turn after
an unstored one, and stored searches with no reasoning before them, now
keep their searches; the tests expect the inline item in those cases.1 parent 8ca9ca6 commit 643e48c
4 files changed
Lines changed: 22 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10760 | 10760 | | |
10761 | 10761 | | |
10762 | 10762 | | |
10763 | | - | |
10764 | | - | |
10765 | | - | |
10766 | | - | |
| 10763 | + | |
| 10764 | + | |
10767 | 10765 | | |
10768 | 10766 | | |
10769 | 10767 | | |
| |||
10775 | 10773 | | |
10776 | 10774 | | |
10777 | 10775 | | |
| 10776 | + | |
10778 | 10777 | | |
10779 | 10778 | | |
10780 | 10779 | | |
| |||
10785 | 10784 | | |
10786 | 10785 | | |
10787 | 10786 | | |
| 10787 | + | |
10788 | 10788 | | |
10789 | 10789 | | |
10790 | 10790 | | |
| |||
11062 | 11062 | | |
11063 | 11063 | | |
11064 | 11064 | | |
11065 | | - | |
11066 | | - | |
11067 | | - | |
11068 | | - | |
11069 | | - | |
11070 | | - | |
11071 | | - | |
11072 | | - | |
| 11065 | + | |
| 11066 | + | |
11073 | 11067 | | |
11074 | 11068 | | |
11075 | 11069 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 41 | + | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
| |||
133 | 129 | | |
134 | 130 | | |
135 | 131 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
144 | 136 | | |
145 | 137 | | |
146 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | | - | |
| 326 | + | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
0 commit comments