( languagePreference: string | undefined, )
| 140 | } |
| 141 | |
| 142 | function getLanguageSection( |
| 143 | languagePreference: string | undefined, |
| 144 | ): string | null { |
| 145 | if (!languagePreference) return null |
| 146 | |
| 147 | return `# Language |
| 148 | Always respond in ${languagePreference}. Use ${languagePreference} for all explanations, comments, and communications with the user. Technical terms and code identifiers should remain in their original form.` |
| 149 | } |
| 150 | |
| 151 | function getOutputStyleSection( |
| 152 | outputStyleConfig: OutputStyleConfig | null, |