add markdown parsing + latex + tree-sitter highlighting for codeblocks in llm responses
This commit is contained in:
@@ -58,12 +58,8 @@ class ChatMessage : public QObject {
|
||||
Q_INVOKABLE void retry();
|
||||
Q_INVOKABLE void generate();
|
||||
|
||||
ChatGeneration* addGeneration(
|
||||
qint64 timestamp,
|
||||
const QString& content,
|
||||
const QString& reasoning,
|
||||
qint64 reasoningElapsedMs,
|
||||
qint64 contentElapsedMs);
|
||||
// Creates an empty generation; callers fill it with segments.
|
||||
ChatGeneration* addGeneration(qint64 timestamp);
|
||||
ChatGeneration* appendGeneration(qint64 timestamp);
|
||||
void removeGeneration(ChatGeneration* generation);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user