feat(planning): enable agent planning (#68)

* feat(planning): Allow the agent to plan subtasks

Signed-off-by: mudler <mudler@localai.io>

* feat(planning): enable planning toggle in the webui

Signed-off-by: mudler <mudler@localai.io>

* feat(planning): take in consideration the overall goal

Signed-off-by: mudler <mudler@localai.io>

* Update core/action/plan.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Signed-off-by: mudler <mudler@localai.io>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto
2025-03-21 12:28:11 +01:00
committed by GitHub
parent 638eedc2a0
commit 33483ab4b9
37 changed files with 259 additions and 35 deletions

View File

@@ -253,6 +253,16 @@
Initiate Conversations
</label>
</div>
<div class="mb-4">
<label for="enable_planning" class="checkbox-label">
<span class="checkbox-custom">
<input type="checkbox" name="enable_planning" id="enable_planning">
<span class="checkmark"></span>
</span>
Enable Planning
</label>
</div>
<div class="mb-4">
<label for="can_stop_itself" class="checkbox-label">

View File

@@ -336,6 +336,7 @@
document.getElementById('kb_results').value = config.kb_results || '';
document.getElementById('standalone_job').checked = config.standalone_job || false;
document.getElementById('initiate_conversations').checked = config.initiate_conversations || false;
document.getElementById('enable_planning').checked = config.enable_planning || false;
document.getElementById('can_stop_itself').checked = config.can_stop_itself || false;
document.getElementById('random_identity').checked = config.random_identity || false;
document.getElementById('long_term_memory').checked = config.long_term_memory || false;