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

Function getSimpleToneAndStyleSection

src/constants/prompts.ts:420–432  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

418}
419
420function getSimpleToneAndStyleSection(): string {
421 const items = [
422 `Only use emojis if the user explicitly requests it. Avoid using emojis in all communication unless asked.`,
423 isInternalBuild()
424 ? null
425 : `Your responses should be short and concise.`,
426 `When referencing specific functions or pieces of code include the pattern file_path:line_number to allow the user to easily navigate to the source code location.`,
427 `When referencing GitHub issues or pull requests, use the owner/repo#123 format so they render as clickable links.`,
428 `Do not use a colon before tool calls. Your tool calls may not be shown directly in the output, so text like "Let me read the file:" followed by a read tool call should just be "Let me read the file." with a period.`,
429 ].filter(item => item !== null)
430
431 return [`# Tone and style`, ...prependBullets(items)].join(`\n`)
432}
433
434export async function getSystemPrompt(
435 tools: Tools,

Callers 1

getSystemPromptFunction · 0.85

Calls 2

isInternalBuildFunction · 0.85
prependBulletsFunction · 0.85

Tested by

no test coverage detected