mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-10 18:35:48 +08:00
Simplify oclaw product surface: drop niche specialists and admin noise.
Remove stock/image/video specialists, Gmail watcher, CocoLoop market, desktop packaging, and extra memory plugins; disable dynamic agents and hide Session Monitor / API grants / Admin Audit from nav. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
efa72df362
commit
cf31fd104d
290 changed files with 127 additions and 64576 deletions
|
|
@ -4479,7 +4479,7 @@ def build_admin_router() -> APIRouter:
|
|||
_require_permission(ctx, "admin:memory:write")
|
||||
store.set_setting("MEMORY_VECTOR_ENABLED", "1" if str(payload.get("enabled") or "").lower() in ("1", "true", "yes", "on") else "0")
|
||||
backend = str(payload.get("backend") or "sqlite").strip().lower()
|
||||
if backend not in {"sqlite", "chroma", "qdrant"}:
|
||||
if backend != "sqlite":
|
||||
backend = "sqlite"
|
||||
store.set_setting("MEMORY_VECTOR_BACKEND", backend)
|
||||
store.set_setting("MEMORY_VECTOR_TOPK", str(payload.get("top_k") or 5))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue