Decouple friendly tool descriptions via registry
This commit is contained in:
9
src/app/agents/action_registry.py
Normal file
9
src/app/agents/action_registry.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# Registro popolato da tutti i file Toolkit presenti all'avvio.
|
||||
ACTION_DESCRIPTIONS: dict[str, str] = {}
|
||||
|
||||
def register_friendly_actions(actions: dict[str, str]):
|
||||
"""
|
||||
Aggiunge le descrizioni di un Toolkit al registro globale.
|
||||
"""
|
||||
global ACTION_DESCRIPTIONS
|
||||
ACTION_DESCRIPTIONS.update(actions)
|
||||
Reference in New Issue
Block a user