Skip to content

Commit

Permalink
#3037 fix: unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
  • Loading branch information
pbek committed Jun 16, 2024
1 parent 77e37f3 commit de1cfcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/scriptingservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,6 @@ void ScriptingService::reloadEngine() {
// Reload the OpenAI controls, so that the scripts can add custom backends
mainWindow->reloadOpenAiControls();
}
#else
Q_UNUSED(text)
#endif
}

Expand Down Expand Up @@ -1458,6 +1456,8 @@ QString ScriptingService::aiComplete(const QString &prompt) {
QString(__func__));

return OpenAiService::instance()->complete(prompt);
#else
Q_UNUSED(prompt)
#endif
}

Expand Down

0 comments on commit de1cfcb

Please sign in to comment.