Skip to content

mochi ai config set usage ​

Set how long local AI usage is kept

Synopsis ​

Sets how long, and how much, AI usage mochi ai usage local keeps before removing the oldest entries.

shell
mochi ai config set usage [flags]

Options ​

FlagTypeDescription
-h, --helphelp for usage
--max-agestringKeep entries this long (e.g. 30d, 720h)
--max-sizestringKeep at most this much (e.g. 10MB, 500KB)
-o, --outputstringOutput format: text or json (default "text")

Options inherited from parent commands ​

FlagTypeDescription
-L, --log-levelstringLog verbosity level (debug, info, fatal) (default "info")
--syncSync flow cache and workspaces

See also ​