fix
This commit is contained in:
1 parent
9186abf9c1
commit
a3089e0472
1 file changed
+4
-3
@@ -301,7 +301,9 @@ async def generate_function_chat_completion(form_data, user):
|
||||
"name": user.name,
|
||||
"role": user.role,
|
||||
},
|
||||
"__tools__": get_tools(
|
||||
}
|
||||
extra_params["__tools__"] = (
|
||||
get_tools(
|
||||
app,
|
||||
tool_ids,
|
||||
user,
|
||||
@@ -312,8 +314,7 @@ async def generate_function_chat_completion(form_data, user):
|
||||
"__files__": files,
|
||||
},
|
||||
),
|
||||
}
|
||||
|
||||
)
|
||||
|
||||
if model_info:
|
||||
if model_info.base_model_id:
|
||||
|
||||
Reference in new issue
Block a user