mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-29 20:20:42 +00:00
prompt simplification & queue duplicate message fix
This commit is contained in:
parent
c39db0bdee
commit
2c0a64189e
3 changed files with 41 additions and 106 deletions
|
|
@ -165,7 +165,7 @@ export const store = createStore("pluginScan", {
|
|||
|
||||
if (_running) {
|
||||
try {
|
||||
await api.callJsonApi("/plugins/plugin_scan/plugin_scan_queue", { context: ctxId, text: capturedPrompt });
|
||||
await api.callJsonApi("/plugins/plugin_scan/plugin_scan_queue", { context: ctxId });
|
||||
} catch { /* best-effort */ }
|
||||
_queue.push({ gen, ctxId, prompt: capturedPrompt });
|
||||
this.queued = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue