Skip to content

Agent Zero AI framework

Save plugin config as JSON & add header slot

frdelc1437b2bf96e
diff --git a/python/helpers/plugins.py b/python/helpers/plugins.py
index 7bef84a2f..31f73d1f3 100644
--- a/python/helpers/plugins.py
+++ b/python/helpers/plugins.py
@@ -337,7 +337,7 @@ def save_plugin_config(
plugin_name, project_name, agent_profile, CONFIG_FILE_NAME
)
if file_path:
- files.write_file(file_path, yaml_helper.dumps(settings))
+ files.write_file(file_path, json.dumps(settings))
def find_plugin_asset(
diff --git a/webui/components/plugins/list/plugin-list.html b/webui/components/plugins/list/plugin-list.html
index d0da81797..b60b4c974 100644
--- a/webui/components/plugins/list/plugin-list.html
+++ b/webui/components/plugins/list/plugin-list.html
@@ -47,6 +47,8 @@
:disabled="$store.pluginListStore.loading">
<span class="icon material-symbols-outlined">refresh</span> Refresh
</button>
+
+ <x-extension id="plugins-list-header-buttons"></x-extension>
</div>
</div>