Theme variables for OpenAI settings

Configuration for the OpenAI provider (API Responses). This group contains all OpenAI-related theme variables.

$gbc-ai-rewrite-openai-instructions

Base instructions for OpenAI AI rewrite (used as system/prompt preamble). Use {{BR}} to insert a line break in the prompt.

Type: text

Default value: $gbc-ai-rewrite-instructions

Computed value: "Rewrite the text to improve clarity and grammar while preserving meaning.{{BR}}Keep the same language as the input.{{BR}}Output plain text only (no markdown).{{BR}}Do not add new facts.{{BR}}Do not rewrite or repeat the CONTEXT or LOCALE sections.{{BR}}CONTEXT format is: name(desc)=value (one per line).{{BR}}LOCALE format is: key=value (one per line); apply these formats when interpreting dates and numeric values in CONTEXT.{{BR}}If the text conflicts with CONTEXT, prefer CONTEXT for those values."

$gbc-ai-rewrite-openai-input-template

Template used to build the rewrite input. {{BR}} inserts a line break. Available placeholders: {{context}}, {{tone}}, {{length}}, {{text}}.

Type: text

Default value: $gbc-ai-rewrite-input-template

Computed value: "LOCALE (data format used in form fields below):{{BR}}{{locale}}{{BR}}{{BR}}CONTEXT (source of truth, use only if relevant):{{BR}}{{context}}{{BR}}{{BR}}CONSTRAINTS:{{BR}}{{tone}}{{BR}}{{length}}{{BR}}{{BR}}TEXT:{{BR}}{{text}}"

$gbc-ai-rewrite-openai-model

OpenAI model id used for rewrite calls.

Type: string

Default value: ""gpt-5-mini""

Computed value: "gpt-5-mini"

$gbc-ai-conversation-openai-model

OpenAI model id used for chatbot/conversation calls.

Type: string

Default value: ""gpt-5""

Computed value: "gpt-5"