mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-19 16:31:30 +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()}
|
||||
|
|
|
|||
|
|
@ -71,6 +71,8 @@
|
|||
loggedIn: "{{logged_in}}" === "true",
|
||||
};
|
||||
</script>
|
||||
<!-- Plugin head injections (scripts, stylesheets) -->
|
||||
<x-extension id="page-head"></x-extension>
|
||||
</head>
|
||||
|
||||
<body class="dark-mode device-pointer" x-data>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue