MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / followUpAnswer

Function followUpAnswer

graph-ui/src/browser-ai/question-intent.ts:174–176  ·  view source on GitHub ↗
(typed: string, language: 'en' | 'de', subject: ExampleSubject, topic: string)

Source from the content-addressed store, hash-verified

172 * another topic and are not sent, so the model would answer it without context ("Ja, und
173 * noch."). It asks for the full question with the same examples (B4). */
174export function followUpAnswer(typed: string, language: 'en' | 'de', subject: ExampleSubject, topic: string): string {
175 return `${chatRound3Text[language].followUp(shownPrompt(typed), topic)}\n\n${examples(language, subject)}\n\n_${noQuestionText[language].note}_`;
176}
177
178/** The names a prompt may use for what is at hand: the selection, the symbols around it, the
179 * words of the open file or attached code. A prompt that names one of them is a question.

Callers 1

sendFunction · 0.90

Calls 2

shownPromptFunction · 0.85
examplesFunction · 0.85

Tested by

no test coverage detected