Returns the chat retention period in days. Chats archived longer than this and orphaned chat files older than this are purged by dbpurge. Returns 30 (days) when no value has been configured. A value of 0 disables chat purging entirely.
(ctx context.Context)
| 410 | // dbpurge. Returns 30 (days) when no value has been configured. |
| 411 | // A value of 0 disables chat purging entirely. |
| 412 | GetChatRetentionDays(ctx context.Context) (int32, error) |
| 413 | GetChatSystemPrompt(ctx context.Context) (string, error) |
| 414 | // GetChatSystemPromptConfig returns both chat system prompt settings in a |
| 415 | // single read to avoid torn reads between separate site-config lookups. |
no outgoing calls