fix: truncate context logic

This commit is contained in:
2026-09-30 15:01:28 +02:00
parent a59e4286ad
commit 5fc6fda804
15 changed files with 238 additions and 126 deletions
-2
View File
@@ -29,8 +29,6 @@ class LlmSegment : public QObject {
enum class Type : int { Reasoning = 0, ToolCall, Content };
Q_ENUM(Type)
// Pending is appended last: statuses are persisted as integers in the
// chat database, so existing values must not move.
enum class Status : int { None = 0, Running, Success, Error, Pending };
Q_ENUM(Status)