mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-05 15:31:08 +00:00
refactor: consolidate module loading utilities and add plugin lifecycle improvements
- Move load_classes_from_file and load_classes_from_folder from extract_tools to new modules helper - Update all imports across api, extension, files, and plugins to use helpers.modules - Add namespace purging to refresh_plugin_modules for selective plugin reload on Python changes - Implement embed trimming in history based on model config max_embeds and vision support - Add pre_update hook documentation to plugin
This commit is contained in:
parent
723225957e
commit
89d4b8913f
25 changed files with 417 additions and 178 deletions
|
|
@ -183,12 +183,6 @@
|
|||
@change="preset.chat.kwargs = $store.modelConfig.textToKwargs(preset.chat._kwargs_text)"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field field-full">
|
||||
<div class="field-label">
|
||||
<div class="field-title">Browser HTTP Headers</div>
|
||||
<div class="field-description">Custom HTTP headers sent with browser requests. The browser agent uses the main model. Format is KEY=VALUE, one per line.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="preset-subheader">Utility Model <span style="opacity:0.5; font-size:0.75rem;">(optional — falls back to the configured Utility Model)</span></div>
|
||||
<div class="field">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue