MCPcopy Create free account
hub / github.com/Noumena-Network/code / getLanguageSection

Function getLanguageSection

src/constants/prompts.ts:144–151  ·  view source on GitHub ↗
(
  languagePreference: string | undefined,
)

Source from the content-addressed store, hash-verified

142}
143
144function getLanguageSection(
145 languagePreference: string | undefined,
146): string | null {
147 if (!languagePreference) return null
148
149 return `# Language
150Always 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.`
151}
152
153function getOutputStyleSection(
154 outputStyleConfig: OutputStyleConfig | null,

Callers 1

getSystemPromptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected