diff --git a/src/calibre/gui2/viewer/llm.py b/src/calibre/gui2/viewer/llm.py index d282c8bd16..fce640a6d8 100644 --- a/src/calibre/gui2/viewer/llm.py +++ b/src/calibre/gui2/viewer/llm.py @@ -402,8 +402,8 @@ class LLMPanel(QWidget): def start_api_call(self, action_prompt): if not self.is_ready_for_use: - self.show_error(f"{_('AI provider not configured.')} {_( - 'Configure AI provider')}", is_critical=False) + self.show_error(f'''{_('AI provider not configured.')} {_( + 'Configure AI provider')}''', is_critical=False) return if not self.latched_conversation_text: self.show_error(f"{_('Error')}: {_('No text is selected for this conversation.')}", is_critical=True)