llmodel: constify LLModel::threadCount()

This commit is contained in:
Juuso Alasuutari
2023-05-21 23:45:29 +03:00
committed by AT
parent efd39b0d73
commit 81fdc28e58
9 changed files with 12 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ public:
std::function<bool(bool)> recalculateCallback,
PromptContext &ctx) override;
void setThreadCount(int32_t n_threads) override;
int32_t threadCount() override;
int32_t threadCount() const override;
void setModelName(const QString &modelName) { m_modelName = modelName; }
void setAPIKey(const QString &apiKey) { m_apiKey = apiKey; }