fix: Remove isUserSource from tests

This commit is contained in:
Petr Mironychev
2026-06-28 17:37:11 +02:00
parent ccc2ec2e80
commit dc3100f054
12 changed files with 224 additions and 88 deletions

View File

@@ -46,6 +46,8 @@ public:
bool isValid() const noexcept;
QString invalidReason() const;
bool isInFlight() const noexcept;
bool hasAgent() const noexcept;
bool canSend() const noexcept;
const ErrorInfo &lastError() const noexcept;
using ContentLoader = ContextAssembler::ContentLoader;
@@ -56,6 +58,7 @@ public:
void unpinContext(const QString &id);
Agent *agent() noexcept { return m_agent; }
void setAgent(Agent *agent);
ConversationHistory *history() const noexcept { return m_history; }
SystemPromptBuilder *systemPrompt() const noexcept { return m_systemPrompt; }