From 93cf30d837ba4809eb6bc5cd1be62d4c6b100ed3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 2 Dec 2025 06:04:53 +0530 Subject: [PATCH] ... --- src/calibre/gui2/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/llm.py b/src/calibre/gui2/llm.py index cd793c8f56..9a0ae1b426 100644 --- a/src/calibre/gui2/llm.py +++ b/src/calibre/gui2/llm.py @@ -317,7 +317,7 @@ class ConverseWidget(QWidget): self.scroll_to_bottom() def get_language_instruction(self) -> str: - if aiprefs['llm_localized_results'] != 'always': + if aiprefs()['llm_localized_results'] != 'always': return '' return self.language_instruction()