mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-12-15 17:45:03 -05:00
...
This commit is contained in:
parent
a8b12a86cf
commit
2b0ac21ca8
@ -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"<b>{_('AI provider not configured.')}</b> <a href='http://configure-ai.com'>{_(
|
||||
'Configure AI provider')}</a>", is_critical=False)
|
||||
self.show_error(f'''<b>{_('AI provider not configured.')}</b> <a href="http://configure-ai.com">{_(
|
||||
'Configure AI provider')}</a>''', is_critical=False)
|
||||
return
|
||||
if not self.latched_conversation_text:
|
||||
self.show_error(f"<b>{_('Error')}:</b> {_('No text is selected for this conversation.')}", is_critical=True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user