File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -436,7 +436,6 @@ async fn build_proxy_response(
436436 request_expects_stream : bool ,
437437 moderation_debug : & HeaderMap ,
438438) -> Result < Response , ApiError > {
439- let status = upstream_response. status ( ) ;
440439 let headers = filtered_response_headers ( upstream_response. headers ( ) ) ;
441440 let header_says_stream = is_stream_response ( upstream_response. headers ( ) ) ;
442441 if header_says_stream || request_expects_stream {
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ enum InternalEvent {
5252 Done ,
5353}
5454
55- trait InternalSink {
55+ trait InternalSink : Send {
5656 fn on_start ( & mut self , meta : & Map < String , Value > ) -> Vec < Vec < u8 > > ;
5757 fn on_text_delta ( & mut self , text : & str ) -> Vec < Vec < u8 > > ;
5858 fn on_tool_call_start ( & mut self , call_id : & str , name : & str ) -> Vec < Vec < u8 > > ;
You can’t perform that action at this time.
0 commit comments