feat: auto-delete old conversations, and stop a tool call that repeats

This commit is contained in:
2026-10-05 16:59:38 +08:00
parent 576c5946f7
commit d27c4374fe
25 changed files with 2004 additions and 55 deletions
+31 -2
View File
@@ -125,17 +125,46 @@
{
"name": "resumeTimeout",
"title": "Start New Chat After",
"description": "When the command opens, resume the last conversation only if it was used recently. Past this much idle time it starts a fresh chat instead. The old conversation is never deleted — it stays in the sidebar.",
"description": "When the command opens, resume the last conversation only if it was used recently. Past this much idle time it starts a fresh chat instead. The old conversation is never deleted. It stays in the sidebar.",
"type": "dropdown",
"required": false,
"default": "1h",
"data": [
{ "title": "Never — always reopen the last chat", "value": "never" },
{ "title": "Never (always reopen the last chat)", "value": "never" },
{ "title": "After 15 minutes", "value": "15m" },
{ "title": "After 1 hour", "value": "1h" },
{ "title": "After 6 hours", "value": "6h" },
{ "title": "After 1 day", "value": "1d" }
]
},
{
"name": "autoDeleteAfter",
"title": "Delete Old Chats After",
"description": "Permanently delete a conversation once you have not opened it for this long, along with any screenshots it captured. The check runs when a Lam command opens and after each answer, so conversations go when you next use Lam. Off by default: nothing is ever deleted.",
"type": "dropdown",
"required": false,
"default": "disabled",
"data": [
{ "title": "Disabled (keep conversations forever)", "value": "disabled" },
{ "title": "After 1 day", "value": "1d" },
{ "title": "After 7 days", "value": "7d" },
{ "title": "After 30 days", "value": "30d" },
{ "title": "After 90 days", "value": "90d" }
]
},
{
"name": "maxToolRounds",
"title": "Tool Call Limit",
"description": "How many rounds of tool calls Lam may make before it has to answer with what it has gathered. More rounds mean slower but more thorough answers. Unlimited removes the cap; a call that repeats itself with the same arguments three times ends the turn either way, so a stuck model cannot loop forever.",
"type": "dropdown",
"required": false,
"default": "8",
"data": [
{ "title": "4 rounds", "value": "4" },
{ "title": "8 rounds (default)", "value": "8" },
{ "title": "16 rounds", "value": "16" },
{ "title": "Unlimited (no cap)", "value": "unlimited" }
]
}
],
"dependencies": {