| 413 | } |
| 414 | |
| 415 | void ChatRootView::sendMessage(const QString &message) |
| 416 | { |
| 417 | const QStringList attachments = m_attachmentFiles; |
| 418 | const QStringList linkedFiles = m_linkedFiles; |
| 419 | const bool tools = useTools(); |
| 420 | const bool thinking = useThinking(); |
| 421 | |
| 422 | if (deferSendForAutoCompress(message, attachments, linkedFiles, tools, thinking)) |
| 423 | return; |
| 424 | |
| 425 | dispatchSend(message, attachments, linkedFiles, tools, thinking); |
| 426 | } |
| 427 | |
| 428 | bool ChatRootView::deferSendForAutoCompress( |
| 429 | const QString &message, |