mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-19 07:59:34 +00:00
Unify skill handling layer and raise the active skills cap to 20. The Skills UI now presents a simpler checklist-style flow for selecting active skills, with live chat activation and saved defaults using the same visible list. Skill contents can be opened in a read-only Ace viewer via the existing markdown modal.
11 lines
276 B
Python
11 lines
276 B
Python
from __future__ import annotations
|
|
|
|
from helpers.skills import normalize_skills_config
|
|
|
|
|
|
def get_plugin_config(default=None, **kwargs):
|
|
return normalize_skills_config(default)
|
|
|
|
|
|
def save_plugin_config(settings=None, **kwargs):
|
|
return normalize_skills_config(settings)
|