refac
This commit is contained in:
1 parent
1a97751e37
commit
b1d40f3409
3 files changed
+21
-16
No files matched your search
@@ -1790,12 +1790,9 @@ async def chat_completion(
|
||||
'stream_delta_chunk_size': stream_delta_chunk_size,
|
||||
'reasoning_tags': reasoning_tags,
|
||||
'function_calling': (
|
||||
'native'
|
||||
if (
|
||||
form_data.get('params', {}).get('function_calling') == 'native'
|
||||
or model_info_params.get('function_calling') == 'native'
|
||||
)
|
||||
else 'default'
|
||||
form_data.get('params', {}).get('function_calling')
|
||||
or model_info_params.get('function_calling')
|
||||
or 'native'
|
||||
),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user