mirror of
https://github.com/open-webui/open-webui
synced 2025-06-12 09:23:05 +00:00
Merge pull request #13405 from yak1ex/fix_multiple_actions_in_an_action_module_do_not_work_as_intended
fix: Multiple actions in an action module do not work as intended.
This commit is contained in:
commit
2d5643fb17
@ -203,6 +203,7 @@ async def get_all_models(request, user: UserModel = None):
|
|||||||
else:
|
else:
|
||||||
function_module, _, _ = load_function_module_by_id(function_id)
|
function_module, _, _ = load_function_module_by_id(function_id)
|
||||||
request.app.state.FUNCTIONS[function_id] = function_module
|
request.app.state.FUNCTIONS[function_id] = function_module
|
||||||
|
return function_module
|
||||||
|
|
||||||
for model in models:
|
for model in models:
|
||||||
action_ids = [
|
action_ids = [
|
||||||
|
Loading…
Reference in New Issue
Block a user