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

Method createCompressedChatPath

ChatView/ChatCompressor.cpp:149–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149QString ChatCompressor::createCompressedChatPath(const QString &originalPath) const
150{
151 QFileInfo fileInfo(originalPath);
152 QString hash = QString::number(QDateTime::currentMSecsSinceEpoch() % 100000, 16);
153 return QString("%1/%2_%3.%4")
154 .arg(fileInfo.absolutePath(), fileInfo.completeBaseName(), hash, fileInfo.suffix());
155}
156
157QString ChatCompressor::buildCompressionPrompt() const
158{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected