| 147 | } |
| 148 | |
| 149 | QString 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 | |
| 157 | QString ChatCompressor::buildCompressionPrompt() const |
| 158 | { |
nothing calls this directly
no outgoing calls
no test coverage detected