This commit is contained in:
Timothy Jaeryang Baek committed 2026-11-06 12:40:49 +09:00
1 parent 768a83ae78
commit 0f3bd0a7ea
7 files changed
+483 -32

No files matched your search

+3 -1
View File
@@ -2879,7 +2879,9 @@ async def process_chat_payload(request, form_data, user, metadata, model):
metadata['tools'] = tools_dict
if metadata.get('params', {}).get('function_calling') != 'legacy':
deferred = await apply_tool_search(form_data, metadata, tools_dict, inlet_filter_tools)
deferred = await apply_tool_search(
form_data, metadata, tools_dict, inlet_filter_tools, extra_params=extra_params
)
# If the function calling is native, then call the tools function calling handler
form_data['tools'] = [