1
0
Fork 0
Commit graph

322 commits

Author SHA1 Message Date
454ed2e513
Update changelog 2024-04-10 16:35:04 +02:00
0700f6e51b
Mention that a buffer could be narrowed when operating on it 2024-04-10 16:29:57 +02:00
d828c52da0
Explain custom prompts in README 2024-04-10 16:21:24 +02:00
ee601f4b2e
Merge branch 'main' into prompts 2024-04-10 12:08:55 +02:00
c8f1461ada
Add changelog entry 2024-04-10 07:30:24 +02:00
3d05ca00da
Merge branch 'improved-error-handling' 2024-04-10 07:27:51 +02:00
42061aae3a
Simplify error response function, no need for customization 2024-04-10 07:25:44 +02:00
380c63a0c3
Add test for proper error handling by kagi-summarize 2024-04-10 07:22:36 +02:00
21a7a2e175
Add testv recipe for more verbose logging 2024-04-10 07:20:20 +02:00
2c2e88eb04
Add test for invalid API tokens 2024-04-09 20:32:54 +02:00
c25c0ead95
Fix fictitious error output 2024-04-09 19:48:41 +02:00
4dabc7ecf7
Mention that the tests won't make API calls 2024-04-05 23:15:48 +02:00
e4200270c0
First attempt to improve error handling whenever FastGPT returns error output 2024-04-05 22:54:09 +02:00
ba593c2fc3
Fix docstring 2024-04-05 21:13:09 +02:00
ba26b5ec1e
Make the user-facing name an optional argument 2024-04-01 13:13:30 +02:00
3fe442758c
Improve readability 2024-03-31 19:49:45 +02:00
3f60094815
Add check that kagi-fastgpt-prompt is called non-interactively 2024-03-31 17:49:38 +02:00
b0e33aa8e6
Prompts may be functions returning text
This can be used to make an interactive variant of a prompt and a
non-interactive one.
2024-03-31 17:43:20 +02:00
af03f7d1f8
Remove TODO 2024-03-31 11:47:47 +02:00
48d90f7208
Adjust define-kagi-fastgpt-prompt to match kagi-proofread functionality 2024-03-31 10:51:32 +02:00
55487fab5b
Docstring and variable name changes 2024-03-28 22:33:11 +01:00
3a445b3c90
Fix tests for the changed variable name 2024-03-28 22:25:27 +01:00
3843afb785
Push the symbol name as a string in the car 2024-03-28 22:24:46 +01:00
26bcbcea77
Add macro to define your own prompts 2024-03-28 22:14:23 +01:00
ef799275ea
Remove details 2024-03-28 06:25:05 +01:00
5753556163
Fix language code for Czech 2024-03-27 22:28:21 +01:00
ccfc34b1c0
Remove the open source claim 2024-03-27 22:13:45 +01:00
407781fe4e
Adjust docstring 2024-03-23 10:05:57 +01:00
19e779ad37
Minor docstring adjustments 2024-03-23 09:45:31 +01:00
9b58724986
Call function when a predefined prompt has one
Also test if the variable with predefined prompts is used properly by kagi-fastgpt-prompt.
2024-03-23 09:37:39 +01:00
554a19285b
Isolate the prompt construction in a separate function 2024-03-22 23:45:09 +01:00
2b9ab2fa0a
Improve the placeholder handling in prompts 2024-03-22 23:07:11 +01:00
658662bfd4
Remove the obsoleted function kagi-fastgpt 2024-03-19 21:42:06 +01:00
47ef4d218f
Support traditional Chinese as possible summary language 2024-03-19 21:36:26 +01:00
086b6b30f6
Let kagi-fastgpt-prompt use predefined prompts and fill in placeholders 2024-03-19 21:30:38 +01:00
d473b1b6fa
Remove suggestion for defining your own functions 2024-03-07 19:46:24 +01:00
7e302e0357
Do not export old changelog entries 2024-03-06 23:06:41 +01:00
581b8b3bc5
Update README 2024-03-06 21:26:22 +01:00
3671f78c6a
Refactored the internal kagi--get-summarizer-parameters function
Take a list of promptable items, to be passed on from the caller.
2024-03-06 21:20:15 +01:00
72119bd9b7
Add no-cache parameter to kagi-summarize-{buffer,region} 2024-03-06 21:06:43 +01:00
9773229d6b
Normalize to t when kagi-summarizer-cache is non-nil 2024-03-06 20:35:59 +01:00
5732de8bcd
Add no-cache parameter to kagi-summarize 2024-03-06 20:28:23 +01:00
e1f2f6fcc8
Various fixes in the README 2024-03-05 22:23:30 +01:00
64e2779335
Extend list of options when the universal prefix is passed 2024-03-05 21:49:45 +01:00
7d061a8ef8
Add comments that appear with just --list 2024-03-02 21:58:07 +01:00
afac09ab32
Remove unused recipe 2024-03-02 21:57:47 +01:00
3080cea644
Make test the default recipe 2024-03-02 21:55:00 +01:00
6f9fd09471
Define a variable for storing default and user-defined FastGPT prompts 2024-03-01 22:46:14 +01:00
0570505cff
Bump to version 0.4 2024-02-29 20:53:09 +01:00
f5f751390f
Update package headings 2024-02-29 20:52:28 +01:00