mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-08-24 15:56:02 +00:00
Add one project/profile-aware resolver for canonical local, plugin, and MCP tool identities. Apply it to text prompts, Responses schemas, connector stubs, local execution, MCP invocation, and delegated agents while preserving the response and vision invariants owned by the runtime.
9 lines
224 B
Python
9 lines
224 B
Python
from helpers.tool_policy import normalize_policy
|
|
|
|
|
|
def get_plugin_config(default=None, **kwargs):
|
|
return normalize_policy(default)
|
|
|
|
|
|
def save_plugin_config(settings=None, **kwargs):
|
|
return normalize_policy(settings)
|