Kovid Goyal
444a3069a8
New chat widget basically works
2025-09-07 18:47:13 +05:30
Kovid Goyal
c08e37168b
Padding needed for messages as well
2025-09-07 18:47:13 +05:30
Kovid Goyal
9936c302d2
Remove unneccessary creation of llm placeholder
...
Also implement returnPressed for QTextEdit
2025-09-07 18:47:13 +05:30
Kovid Goyal
c891d8492c
work on integration chat widget
2025-09-07 18:47:13 +05:30
Kovid Goyal
1647e374ab
A re-usable widget to display chats
2025-09-07 18:47:13 +05:30
Kovid Goyal
4d52b96c22
Handle zero quick actions
2025-09-07 18:47:13 +05:30
Kovid Goyal
ae93246cbc
Handle exceptional responses
2025-09-07 18:47:13 +05:30
Kovid Goyal
ba6182b51c
Make more openrouter code re-useable
2025-09-07 18:47:13 +05:30
Kovid Goyal
e7de2e32b3
Make some openrouter backend code re-useable
2025-09-07 18:47:13 +05:30
Kovid Goyal
7d0c597f1d
Remove unused code
2025-09-07 18:47:13 +05:30
Kovid Goyal
cc3a527271
Better wrapping for displayed chat messages
2025-09-07 18:47:13 +05:30
Kovid Goyal
e2c6b0e6b9
Dont need the "You" header in the conv panel
...
The background color difference makes it quite obvious
2025-09-07 18:47:12 +05:30
Kovid Goyal
5f49c49b1f
Use the actual model name instead of "Assistant"
2025-09-07 18:47:12 +05:30
Kovid Goyal
b2f1d59f94
Basic interaction now works
2025-09-07 18:47:12 +05:30
Kovid Goyal
c8acb5d2d3
More work on integration new AI backend into existing viewer code
2025-09-07 18:47:12 +05:30
Kovid Goyal
dc7977db89
Show model identifier in details
2025-09-07 18:47:12 +05:30
Kovid Goyal
1ddb959afc
Add an accumulator helper class to preserve reasoning details and easily access streaming content
2025-09-07 18:47:12 +05:30
Kovid Goyal
29d4d3fc09
Store provider and model details
2025-09-07 18:47:12 +05:30
Kovid Goyal
53c4bbb570
Get OpenRouter backend basically working
2025-09-07 18:47:12 +05:30
Kovid Goyal
e7fb4610ea
Add configurable reasoning parameter
2025-09-07 18:47:12 +05:30
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