MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / buildCompressionPrompt

Method buildCompressionPrompt

ChatView/ChatCompressor.cpp:157–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157QString ChatCompressor::buildCompressionPrompt() const
158{
159 return QStringLiteral(
160 "Please create a comprehensive summary of our entire conversation above. "
161 "The summary should:\n"
162 "1. Preserve all important context, decisions, and key information\n"
163 "2. Maintain technical details, code snippets, file references, and specific examples\n"
164 "3. Keep the chronological flow of the discussion\n"
165 "4. Be significantly shorter than the original (aim for 30-40% of original length)\n"
166 "5. Be written in clear, structured format\n"
167 "6. Use markdown formatting for better readability\n\n"
168 "Create the summary now:");
169}
170
171void ChatCompressor::buildRequestPayload(
172 QJsonObject &payload, PluginLLMCore::PromptTemplate *promptTemplate)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected