File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ where
218218 RawStreamingChoice :: Message ( text) => {
219219 // Forward the streaming tokens to the outer stream
220220 // and concat the text together
221- stream. text = format ! ( "{}{}" , stream. text, text. clone ( ) ) ;
221+ stream. text = format ! ( "{}{}" , stream. text, text) ;
222222 Poll :: Ready ( Some ( Ok ( StreamedAssistantContent :: text ( & text) ) ) )
223223 }
224224 RawStreamingChoice :: ToolCallDelta { id, delta } => {
@@ -234,10 +234,10 @@ where
234234 } => {
235235 // Forward the streaming tokens to the outer stream
236236 // and concat the text together
237- stream. reasoning = format ! ( "{}{}" , stream. reasoning, reasoning. clone ( ) ) ;
237+ stream. reasoning = format ! ( "{}{}" , stream. reasoning, reasoning) ;
238238 Poll :: Ready ( Some ( Ok ( StreamedAssistantContent :: Reasoning ( Reasoning {
239239 id,
240- reasoning : vec ! [ stream . reasoning. clone ( ) ] ,
240+ reasoning : vec ! [ reasoning] ,
241241 signature,
242242 } ) ) ) )
243243 }
You can’t perform that action at this time.
0 commit comments