51820 Commits

Author SHA1 Message Date
Kovid Goyal
12ac83c87f
Fix usage of AICapabilities as purpose key 2025-09-08 14:17:50 +05:30
Kovid Goyal
9d0956722f
... 2025-09-08 13:48:34 +05:30
Kovid Goyal
956e88b82c
Nicer cost rendering 2025-09-08 13:38:08 +05:30
Kovid Goyal
29639cf914
Gemini backend now basically works 2025-09-08 13:36:19 +05:30
Kovid Goyal
de1257a4ad
Implement parsing of Google AI model metadata 2025-09-07 21:51:30 +05:30
Kovid Goyal
33b815a5d7
... 2025-09-07 21:08:47 +05:30
Kovid Goyal
038fd287b3
Start work on Gemini backend 2025-09-07 20:54:21 +05:30
Kovid Goyal
15ad5598f1
... 2025-09-07 18:47:15 +05:30
Kovid Goyal
38929afe5f
Automatically detect and format markdown responses 2025-09-07 18:47:15 +05:30
Kovid Goyal
5ceab1abe8
... 2025-09-07 18:47:15 +05:30
Kovid Goyal
ab1da2ffdc
Add basic validation for quick action create dialog 2025-09-07 18:47:14 +05:30
Kovid Goyal
3116b484de
Make action prompts templates and allow the builtin ones to be dynamically adjusted when a single word is selected 2025-09-07 18:47:14 +05:30
Kovid Goyal
ca0afb4c1f
Improve free model choice algorithm 2025-09-07 18:47:14 +05:30
Kovid Goyal
6bba8d28ac
Default to free-or-paid strategy 2025-09-07 18:47:14 +05:30
Kovid Goyal
2506977e64
... 2025-09-07 18:47:14 +05:30
Kovid Goyal
7c91ae1cd0
Do not clear conversation when selected text is cleared 2025-09-07 18:47:14 +05:30
Kovid Goyal
dbb4a71231
Get adding llm as note to highlight working 2025-09-07 18:47:14 +05:30
Kovid Goyal
1eef04aaec
DRYer 2025-09-07 18:47:14 +05:30
Kovid Goyal
81050c68c0
Add button to show reasoning used with every response, if present 2025-09-07 18:47:14 +05:30
Kovid Goyal
2b0ac21ca8
... 2025-09-07 18:47:14 +05:30
Kovid Goyal
a8b12a86cf
Use icon images instead of emoji for buttons 2025-09-07 18:47:14 +05:30
Kovid Goyal
af89af3ce9
Fix cost reporting 2025-09-07 18:47:14 +05:30
Kovid Goyal
16ce0ec1f7
Get prompting and streaming display of results working 2025-09-07 18:47:14 +05:30
Kovid Goyal
47527f95af
Put the quick actions into the conversation display 2025-09-07 18:47:14 +05:30
Kovid Goyal
66f53d1826
Prevent usage of providers that retain prompts in OpenRouter 2025-09-07 18:47:14 +05:30
Kovid Goyal
7e7be2671e
Add a copy button for the full conversation 2025-09-07 18:47:13 +05:30
Kovid Goyal
852acfc21b
Add a copy to clipboard for individual responses 2025-09-07 18:47:13 +05:30
Kovid Goyal
4f522450ce
Fix layout sizing of chat widget 2025-09-07 18:47:13 +05:30
Kovid Goyal
9e0a99440f
Add a send button 2025-09-07 18:47:13 +05:30
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