mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-13 22:02:56 +00:00
fixed a bug
This commit is contained in:
parent
862fcc594f
commit
dbe4b2126c
@ -169,8 +169,8 @@ async def unmount_function_call(request: Request):
|
||||
# Find and update the function call
|
||||
found = False
|
||||
for fc in lollmsElfServer.config.mounted_function_calls:
|
||||
if fc["name"] == function_name and fc["mounted"]:
|
||||
fc["mounted"] = False
|
||||
if fc["name"] == function_name:
|
||||
lollmsElfServer.config.mounted_function_calls.remove(fc)
|
||||
found = True
|
||||
break
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user