GetChatSystemPromptConfig returns both chat system prompt settings in a single read to avoid torn reads between separate site-config lookups. The include-default fallback preserves the legacy behavior where a non-empty custom prompt implied opting out before the explicit toggle existed.
(ctx context.Context)
| 417 | // non-empty custom prompt implied opting out before the explicit toggle |
| 418 | // existed. |
| 419 | GetChatSystemPromptConfig(ctx context.Context) (GetChatSystemPromptConfigRow, error) |
| 420 | // GetChatTemplateAllowlist returns the JSON-encoded template allowlist. |
| 421 | // Returns an empty string when no allowlist has been configured (all templates allowed). |
| 422 | GetChatTemplateAllowlist(ctx context.Context) (string, error) |
no outgoing calls