Open ggiallo28 opened 21 hours ago
👀 @ggiallo28
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
🥰 Feature Description
It would be great to have the ability to define which plugins are mandatory and which are optional directly in the agent configuration (manifest). This would allow agents to have pre-configured plugins enabled by default, ensuring they have all the necessary tools for proper functionality while maintaining the flexibility to enhance their capabilities with optional plugins.
Currently, there is no straightforward way to specify this distinction, requiring manual setup every time an agent is created or modified.
🧐 Proposed Solution
A possible solution could be to introduce a new plugin_configuration key within the agent's configuration (e.g., under the config section in the agent manifest). This key could specify:
Mandatory Plugins: Essential plugins required for the agent to function correctly. These plugins would always be loaded. Optional Plugins: Non-essential plugins that enhance the agent's functionality. These plugins would load if available but would not block the agent if missing.
📝 Additional Information
This feature would reduce operational overhead by ensuring essential plugins are automatically set up for agents.