Commit Graph

51771 Commits

Author SHA1 Message Date
Kovid Goyal 60b2e7a6ca Work on automatic model choice 2025-09-07 18:47:12 +05:30
Kovid Goyal 06b9c221e7 Start live worker in viewer process
Needed for live loading of AI backend modules
2025-09-07 18:47:12 +05:30
Kovid Goyal 31059991ef Abstract message types when chatting with AI 2025-09-07 18:47:12 +05:30
Kovid Goyal 035ef2b351 Centralise checking ready for use 2025-09-07 18:47:12 +05:30
Kovid Goyal 7c595c932b Use the new AI config widget in viewer Ask AI panel 2025-09-07 18:47:12 +05:30
Kovid Goyal ca8653bba4 ... 2025-09-07 18:47:12 +05:30
Kovid Goyal aea4abdb0b More work on OpenRouter config dialog 2025-09-07 18:47:12 +05:30
Kovid Goyal 9cde474a75 Add filtering to model list 2025-09-07 18:47:11 +05:30
Kovid Goyal 316287f249 Finish description of model widget 2025-09-07 18:47:11 +05:30
Kovid Goyal a750757d8e More work on OpenRouter config 2025-09-07 18:47:11 +05:30
Kovid Goyal ebea8de58b More work on prefs dialog for OpenRouter 2025-09-07 18:47:11 +05:30
Kovid Goyal 51a301c50b Start work on configuration UI for OpenRouter 2025-09-07 18:47:11 +05:30
Kovid Goyal 4e985398aa Add tooltips to action buttons 2025-09-07 18:47:11 +05:30
Kovid Goyal a0d8291a0d Code to get list of models from OpenRouter with cache 2025-09-07 18:47:11 +05:30
Kovid Goyal adb85e2569 Start work on supporting multiple AI providers via plugins 2025-09-07 18:47:11 +05:30
Kovid Goyal 21aa23eba4 Mark various strings as translateable 2025-09-07 18:47:11 +05:30
Kovid Goyal e45562c7ad Fix handling of LLM quick actions 2025-09-07 18:47:11 +05:30
Kovid Goyal 1dcac34006 Start work on cleaning up LLM settings
Mark strings for translation. Allow using all builtin and custom
highlight styles. Various other minor cleanups.
2025-09-07 18:47:11 +05:30
Kovid Goyal 577e2b0306 pep8 2025-09-07 18:47:11 +05:30
amirthfultehrani 81ca2101f8 feat: Add LLM tab to Lookup panel
Integrates LLM query interface as a new tab in the existing Lookup panel (within Calibre's E-Book Viewer), following feedback from Kovid Goyal on MobileRead forums and GitHub.

It allows for idiomatic interaction with selected text (currently using the OpenRouter.ai API). Key features include: conversational follow-ups on selected text; granular note-saving of AI responses to highlights; contextual review of conversation records on existing highlights; user-configurable settings for API key, model, and highlight color (the one used for LLM-created notes); and session cost estimation and API call tracking; and the sending of the book title + author (as context) to the LLM for improved relevance.
2025-09-07 18:47:11 +05:30
Kovid Goyal 921d82e63f Update NYTimes
Now they apparently are incapable of generating valid JSON even. Sigh.
2025-09-07 18:46:39 +05:30
Kovid Goyal cff6497bec Merge branch 'master' of https://github.com/cbhaley/calibre 2025-09-06 14:52:49 +05:30
Charles Haley 18a19e0d93 Fix problem with custom tooltips not being taken into account the first time one is defind for a column, As it is, in this situation calibre must be restarted.
Having calibre always check when the tooltip is requested is fast and doesn't require inventing some refresh mechanism for build_data_converters().
2025-09-06 10:06:27 +01:00
Kovid Goyal 6070c56c0f Merge branch 'master' of https://github.com/joaquintorres/calibre 2025-09-06 08:31:14 +05:30
Joaquin Torres 23d397b49e Update El Diplo recipe - Fix cover URL and extra text 2025-09-05 23:47:24 -03:00
Kovid Goyal 7d9a2aee8a Update New York Review of Books 2025-09-05 20:07:03 +05:30
Kovid Goyal 0f3a1d6ff3 version 8.10.0 v8.10.0 2025-09-05 04:21:53 +05:30
Kovid Goyal 5f799609ab pep8 2025-09-04 21:50:28 +05:30
Kovid Goyal 31c967813b Merge branch 'master' of https://github.com/cbhaley/calibre 2025-09-04 21:50:10 +05:30
Charles Haley 6f00894235 Make a 'title' column tooltip work in the cover view. 2025-09-04 17:07:09 +01:00
Charles Haley d71b8919e1 Add an action for column tooltips. It can have a shortcut. 2025-09-04 17:06:32 +01:00
Kovid Goyal d1ced81237 string changes 2025-09-04 19:27:51 +05:30
Kovid Goyal d6cb10d5da Dont raise an unhandled error popup if tooltip template eval fails, instead set the tooltip to the error 2025-09-04 19:25:10 +05:30
Kovid Goyal 26c6cf341c Merge branch 'master' of https://github.com/cbhaley/calibre 2025-09-04 19:18:35 +05:30
Charles Haley 75f62405c3 Allow using templates to define custom tooltips for the books list. The action is on the column context menu. It might be good to add a "calibre action" to do the same thing so the it can be put on book context menu etc. 2025-09-04 13:46:16 +01:00
Kovid Goyal bab0a154db Kindle MTP driver: Fix APNX files being placed in incorrect location when books are sent to subfolders inside the root folder. Fixes #2121737 [Kindle sdr folder location when using {author_sort}](https://bugs.launchpad.net/calibre/+bug/2121737) 2025-09-04 10:57:28 +05:30
Kovid Goyal 9d8ffe0f48 DRYer 2025-09-04 10:29:12 +05:30
Kovid Goyal db131773b1 MTP driver: Allow creating format specific destinations for audiobook files. Fixes #2121304 [[Enhancement] Mp3 folder choice](https://bugs.launchpad.net/calibre/+bug/2121304) 2025-09-04 10:23:56 +05:30
Kovid Goyal d3ab4cce93 DRYer 2025-09-03 07:10:14 +05:30
Kovid Goyal 141390ec34 E-book viewer: Read Aloud: Fix regression in previous release that broke
changing voices when engine is set to 'Automatically select'. Fixes #2121897 [TTS Error with version 8.9 so went back to 8.8 which works fine.](https://bugs.launchpad.net/calibre/+bug/2121897)
2025-09-03 07:01:59 +05:30
Kovid Goyal d6f552cb1f Port parsing changes to remaining economist recipes 2025-08-31 15:14:34 +05:30
Kovid Goyal 02c716f44e Fix a regression in the previous release that broke markdown output. Fixes #2121701 [ebook-convert can't convert to markdown](https://bugs.launchpad.net/calibre/+bug/2121701) 2025-08-30 07:42:17 +05:30
Kovid Goyal 22f1b7ab7c Add CSS needed for FreeStar because of Google's stupid CLS metrics 2025-08-29 11:49:33 +05:30
Kovid Goyal 60e6772254 Proper fix for slow server bind 2025-08-29 08:44:22 +05:30
Kovid Goyal 630fcbb38c Fix test failing on macOS 2025-08-29 08:28:16 +05:30
Kovid Goyal 496bc88f08 Merge branch 'log-fix' of https://github.com/qykth-git/calibre 2025-08-29 07:45:33 +05:30
YOKOTA Hiroshi 15c5a906f4 Drop unused exec permission for log files
Default mode is 0o777.
Use mode 0o666 for text log files.
2025-08-29 10:18:01 +09:00
Kovid Goyal 04026132a7 Fix #2121469 [Plugin Updater Donate Column Hardcoded 'PayPal'](https://bugs.launchpad.net/calibre/+bug/2121469) 2025-08-27 05:51:53 +05:30
Kovid Goyal fc0a8dc77f Merge branch 'patch-1' of https://github.com/edm64/calibre 2025-08-27 05:38:31 +05:30
edm64 578c5fef80 Update polish.py
change default focus to OK button, and reassign conflicting shortcut keys
2025-08-26 13:23:25 -04:00