fix: __tools__ param issue

This commit is contained in:
Timothy Jaeryang Baek 2025-08-25 14:29:05 +04:00
parent 0ea421ea20
commit 0e46f8091f

View file

@ -232,7 +232,7 @@ async def generate_function_chat_completion(
"__metadata__": metadata,
"__request__": request,
}
extra_params["__tools__"] = get_tools(
extra_params["__tools__"] = await get_tools(
request,
tool_ids,
user,