Profiles remember their settings #274

Closed
opened 2026-10-28 12:48:30 -04:00 by cmoriarty · 1 comment
Owner

What happens
A profile saves only its backend: kind, URL, model, key, window, output and effort. Context per agent, subagents, concurrent runs, retries, fix rounds, Use CI, apply mode and auto-approve are global. So switching between, say, Claude and a local llama.cpp model means setting them again by hand every time.

Fix

  • A profile holds every setting except Display: its backend, the Agents, Runs and Approvals sections.
  • A new parallel sessions value per profile: how many agent sessions the backend serves at once, read from the server where it says (llama.cpp reports its slots) and editable. A new profile's defaults follow it: with 1, no subagents, one run at a time, one-step apply.
  • Planning and Repair borrow only another profile's backend; a run's settings come from the active profile.

Done when
Switching profiles brings back that profile's settings, and editing a setting saves it to the active profile only.

**What happens** A profile saves only its backend: kind, URL, model, key, window, output and effort. Context per agent, subagents, concurrent runs, retries, fix rounds, Use CI, apply mode and auto-approve are global. So switching between, say, Claude and a local llama.cpp model means setting them again by hand every time. **Fix** - A profile holds every setting except Display: its backend, the Agents, Runs and Approvals sections. - A new **parallel sessions** value per profile: how many agent sessions the backend serves at once, read from the server where it says (llama.cpp reports its slots) and editable. A new profile's defaults follow it: with 1, no subagents, one run at a time, one-step apply. - Planning and Repair borrow only another profile's backend; a run's settings come from the active profile. **Done when** Switching profiles brings back that profile's settings, and editing a setting saves it to the active profile only.
Author
Owner

Shipped in PR #277 (merge ec8535e), live on production.

  • A profile now keeps every setting except Display: its backend, plus the Agents, Runs and Approvals sections. Switching profiles brings its values back; edits save to the active profile. The page marks those sections "Kept with ".
  • New per-profile Parallel sessions (empty = no limit). Connect fills it from a llama.cpp or tabbyAPI server's slots. Typing 1 sets subagents at once to 0, concurrent runs to 1 and Apply to One step. A run keeps the value it started with.
  • Planning and Repair borrow only another profile's backend.
  • Profiles saved before this read the global values until they're next saved. Production's six profiles are all like that now, so nothing changed for them on deploy.

Checked: the suite, and the Settings page in a browser against the test server (switching profiles, saving per profile, the one-session defaults). Not yet checked: Connect reading slots from a real llama.cpp server.

Shipped in PR #277 (merge ec8535e), live on production. - A profile now keeps every setting except Display: its backend, plus the Agents, Runs and Approvals sections. Switching profiles brings its values back; edits save to the active profile. The page marks those sections "Kept with <profile>". - New per-profile **Parallel sessions** (empty = no limit). Connect fills it from a llama.cpp or tabbyAPI server's slots. Typing 1 sets subagents at once to 0, concurrent runs to 1 and Apply to One step. A run keeps the value it started with. - Planning and Repair borrow only another profile's backend. - Profiles saved before this read the global values until they're next saved. Production's six profiles are all like that now, so nothing changed for them on deploy. Checked: the suite, and the Settings page in a browser against the test server (switching profiles, saving per profile, the one-session defaults). Not yet checked: Connect reading slots from a real llama.cpp server.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid#274
No description provided.