def update
import cswap-bend-cli@0.1.0.0/profile.bend as Profileimport Base
402# `profile set NAME KEY VALUE` on `p`.
403def update(+p: Prof, +key: String, +raw: String) -> Upd:
404 upd.key(String.eq(key, "strategy"), String.eq(key, "threshold"), String.eq(key, "models"), String.eq(key, "cooldown_s"), String.eq(key, "interval_s"), key, p, raw)