mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 03:30:23 +00:00
Merge branch 'development' into ready
This commit is contained in:
commit
b6d152c873
2 changed files with 3 additions and 8 deletions
|
|
@ -56,11 +56,4 @@ class PluginInstall(ApiHandler):
|
|||
return update_from_git(input.get("plugin_name", ""))
|
||||
|
||||
def _fetch_index(self, input: dict) -> dict:
|
||||
force_raw = input.get("force", False)
|
||||
force = force_raw if isinstance(force_raw, bool) else str(force_raw).strip().lower() in {
|
||||
"1",
|
||||
"true",
|
||||
"yes",
|
||||
"on",
|
||||
}
|
||||
return {"success": True, **get_plugin_hub_index(force=force)}
|
||||
return {"success": True, **get_plugin_hub_index()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue