@@ -180,13 +180,10 @@ async def chat_completions_impl(request: ChatCompletionRequest, raw_request: Req
180180 from .api_http import g_objs
181181
182182 if request .logit_bias is not None :
183- return create_error_response (
184- HTTPStatus .BAD_REQUEST ,
185- "The logit_bias parameter is not currently supported" ,
186- )
183+ logger .debug ("Received unsupported parameter 'logit_bias', ignoring" )
187184
188185 if request .function_call != "none" :
189- return create_error_response ( HTTPStatus . BAD_REQUEST , "The function call feature is not supported " )
186+ logger . debug ( "Received unsupported parameter 'function_call', ignoring " )
190187
191188 created_time = int (time .time ())
192189
@@ -607,10 +604,7 @@ async def completions_impl(request: CompletionRequest, raw_request: Request) ->
607604 from .api_http import g_objs
608605
609606 if request .logit_bias is not None :
610- return create_error_response (
611- HTTPStatus .BAD_REQUEST ,
612- "The logit_bias parameter is not currently supported" ,
613- )
607+ logger .debug ("Received unsupported parameter 'logit_bias', ignoring" )
614608
615609 created_time = int (time .time ())
616610
@@ -638,10 +632,7 @@ async def completions_impl(request: CompletionRequest, raw_request: Request) ->
638632
639633 # Handle suffix for completion mode
640634 if request .suffix :
641- return create_error_response (
642- HTTPStatus .BAD_REQUEST ,
643- "The suffix parameter is not currently supported" ,
644- )
635+ logger .debug ("Received unsupported parameter 'suffix', ignoring" )
645636
646637 # Prepare sampling parameters - same as g_generate_stream_func pattern
647638 sampling_params_dict = {
0 commit comments