@@ -24,6 +24,7 @@ describe("ProviderTransform.options - setCacheKey", () => {
2424 input : { text : true , audio : false , image : true , video : false , pdf : true } ,
2525 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
2626 interleaved : false ,
27+ preserveInterruptedResponse : false ,
2728 } ,
2829 cost : {
2930 input : 0.003 ,
@@ -125,6 +126,7 @@ describe("ProviderTransform.options - google thinkingConfig gating", () => {
125126 input : { text : true , audio : false , image : true , video : false , pdf : true } ,
126127 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
127128 interleaved : false ,
129+ preserveInterruptedResponse : false ,
128130 } ,
129131 cost : {
130132 input : 0.001 ,
@@ -191,6 +193,7 @@ describe("ProviderTransform.options - gpt-5 textVerbosity", () => {
191193 input : { text : true , audio : false , image : true , video : false , pdf : false } ,
192194 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
193195 interleaved : false ,
196+ preserveInterruptedResponse : false ,
194197 } ,
195198 cost : { input : 0.03 , output : 0.06 , cache : { read : 0.001 , write : 0.002 } } ,
196199 limit : { context : 128000 , output : 4096 } ,
@@ -263,6 +266,7 @@ describe("ProviderTransform.options - gateway", () => {
263266 input : { text : true , audio : false , image : true , video : false , pdf : true } ,
264267 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
265268 interleaved : false ,
269+ preserveInterruptedResponse : false ,
266270 } ,
267271 cost : {
268272 input : 0.001 ,
@@ -309,6 +313,7 @@ describe("ProviderTransform.providerOptions", () => {
309313 input : { text : true , audio : false , image : true , video : false , pdf : false } ,
310314 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
311315 interleaved : false ,
316+ preserveInterruptedResponse : false ,
312317 } ,
313318 cost : {
314319 input : 0.001 ,
@@ -825,6 +830,7 @@ describe("ProviderTransform.message - DeepSeek reasoning content", () => {
825830 interleaved : {
826831 field : "reasoning_content" ,
827832 } ,
833+ preserveInterruptedResponse : false ,
828834 } ,
829835 cost : {
830836 input : 0.001 ,
@@ -885,6 +891,7 @@ describe("ProviderTransform.message - DeepSeek reasoning content", () => {
885891 input : { text : true , audio : false , image : true , video : false , pdf : false } ,
886892 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
887893 interleaved : false ,
894+ preserveInterruptedResponse : false ,
888895 } ,
889896 cost : {
890897 input : 0.03 ,
@@ -929,6 +936,7 @@ describe("ProviderTransform.message - empty image handling", () => {
929936 input : { text : true , audio : false , image : true , video : false , pdf : true } ,
930937 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
931938 interleaved : false ,
939+ preserveInterruptedResponse : false ,
932940 } ,
933941 cost : {
934942 input : 0.003 ,
@@ -1032,6 +1040,7 @@ describe("ProviderTransform.message - anthropic empty content filtering", () =>
10321040 input : { text : true , audio : false , image : true , video : false , pdf : true } ,
10331041 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
10341042 interleaved : false ,
1043+ preserveInterruptedResponse : false ,
10351044 } ,
10361045 cost : {
10371046 input : 0.003 ,
@@ -1239,6 +1248,7 @@ describe("ProviderTransform.message - strip openai metadata when store=false", (
12391248 input : { text : true , audio : false , image : true , video : false , pdf : false } ,
12401249 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
12411250 interleaved : false ,
1251+ preserveInterruptedResponse : false ,
12421252 } ,
12431253 cost : { input : 0.03 , output : 0.06 , cache : { read : 0.001 , write : 0.002 } } ,
12441254 limit : { context : 128000 , output : 4096 } ,
@@ -1531,6 +1541,7 @@ describe("ProviderTransform.message - providerOptions key remapping", () => {
15311541 input : { text : true , audio : false , image : true , video : false , pdf : true } ,
15321542 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
15331543 interleaved : false ,
1544+ preserveInterruptedResponse : false ,
15341545 } ,
15351546 cost : { input : 0.001 , output : 0.002 , cache : { read : 0.0001 , write : 0.0002 } } ,
15361547 limit : { context : 128000 , output : 8192 } ,
@@ -1685,6 +1696,7 @@ describe("ProviderTransform.message - cache control on gateway", () => {
16851696 input : { text : true , audio : false , image : true , video : false , pdf : true } ,
16861697 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
16871698 interleaved : false ,
1699+ preserveInterruptedResponse : false ,
16881700 } ,
16891701 cost : { input : 0.001 , output : 0.002 , cache : { read : 0.0001 , write : 0.0002 } } ,
16901702 limit : { context : 200_000 , output : 8192 } ,
@@ -1783,6 +1795,7 @@ describe("ProviderTransform.variants", () => {
17831795 input : { text : true , audio : false , image : true , video : false , pdf : false } ,
17841796 output : { text : true , audio : false , image : false , video : false , pdf : false } ,
17851797 interleaved : false ,
1798+ preserveInterruptedResponse : false ,
17861799 } ,
17871800 cost : {
17881801 input : 0.001 ,
0 commit comments