This commit is contained in:
Timothy Jaeryang Baek committed 2026-06-05 16:58:16 -04:00
1 parent 1a97751e37
commit b1d40f3409
3 files changed
+21 -16

No files matched your search

+3 -6
View File
@@ -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'
),
},
}