feat(#1184): make agent CPU quota and memory limit configurable

This commit is contained in:
damocles 2026-06-03 20:46:31 +02:00 committed by mara
commit d1fbb4aef8
7 changed files with 80 additions and 12 deletions

View file

@ -97,6 +97,8 @@ pub async fn rebuild_agent(
coord.dashboard_port,
&coord.operator_pronouns,
&coord.context_window_tokens,
&coord.agent_cpu_quota,
&coord.agent_memory_max,
&|step| coord.set_queue_step(queue_entry_id, step),
)
.await;
@ -205,6 +207,8 @@ pub async fn ensure_root_agent(coord: &Arc<Coordinator>) -> Result<()> {
coord.dashboard_port,
&coord.operator_pronouns,
&coord.context_window_tokens,
&coord.agent_cpu_quota,
&coord.agent_memory_max,
)
.await?;
if let Some(rev) = current_rev {