1
0
Fork 0
Commit graph

190 commits

Author SHA1 Message Date
8e68af9216
Check that the input text appears in the kagi-fastgpt-prompt call 2024-02-15 07:59:10 +01:00
1bdbb69000
No need to have a non-nil return value 2024-02-15 07:38:53 +01:00
f8b01e4225
Removed obsolete tests 2024-02-14 21:14:38 +01:00
a83540fc0b
Add some tests for kagi-{translate,proofread} when called interactively 2024-02-14 21:11:25 +01:00
ed6df4ba19
Added kagi-proofread tests, adjusted kagi-translate tests 2024-02-14 20:54:32 +01:00
5415473f67
(require 'buttercup) 2024-02-14 20:53:44 +01:00
0c82995ed9
Added a section on setting up unit test execution 2024-02-14 20:26:15 +01:00
019391a618
Merge branch 'main' into test 2024-02-14 08:49:57 +01:00
c32eb03aaf
Let kagi--fastgpt do the trimming
This will reduce the amount of newlines being printed on the shell.
2024-02-14 08:49:21 +01:00
8197d8c4ff
kagi-fastgpt and kagi-fastgpt-prompt are alike, favor the latter 2024-02-14 08:46:37 +01:00
fbdeec45d9
Pass interactivity to kagi-fastgpt-prompt 2024-02-13 23:08:59 +01:00
2dcf2b7c6a
No need to call through 2024-02-13 23:08:46 +01:00
a3d9eb9a30
Add some tests and define some spies at higher level 2024-02-13 22:19:09 +01:00
4bb7a1d63e
Added tests for kagi-translate 2024-02-13 08:40:09 +01:00
ec63275484
Add more tests 2024-02-12 22:43:26 +01:00
62fe326f2c
Remove obsolete variable 2024-02-12 22:43:14 +01:00
4e3163f980
Cleanup the calling code
Have a single entry point to the Kagi API, which can be stubbed. Also
remove the stubbed responses as we'll cover things with testing now.
2024-02-12 12:05:39 +01:00
b6c7d4b6ed
Fix copyright 2024-02-12 12:03:57 +01:00
4dd622c865
Merge branch 'main' into test 2024-02-12 11:22:53 +01:00
2c57f819ec
Use the kagi-bold face to format reference indices 2024-02-12 11:22:05 +01:00
e6da7af9ac
Added more tests on output formatting 2024-02-12 11:21:42 +01:00
d59232e9bb
Enable lisp-data mode for Cask 2024-02-12 07:58:14 +01:00
239b8cd17d
Update creation date 2024-02-11 20:56:16 +01:00
c01425f31c
First test added 2024-02-11 20:53:29 +01:00
166730181a
Merge branch 'main' into test 2024-02-11 20:53:05 +01:00
0bb20e5295
Remove redundant quotes 2024-02-11 20:51:51 +01:00
2a89340c1e
Compile before test 2024-02-11 20:50:42 +01:00
09f24ccaa3
Add some infrastructure for testing 2024-02-11 12:12:27 +01:00
16e20a9c88
Fix language selection menu, which showed the language code twice 2024-02-10 20:32:24 +01:00
78f69a017b
Update changelog 2024-02-09 20:50:50 +01:00
091609235e
Pass on the interactivity flag 2024-02-09 12:54:36 +01:00
852e7bd210
Rename function, adjust docstrings 2024-02-09 12:51:54 +01:00
cbb82bdca6
Improve readability a bit 2024-02-09 10:02:34 +01:00
a8a5786ace
Refactored and merged some common functionality 2024-02-09 08:40:41 +01:00
d95e5ebfbe
Change grammar check to proofreading 2024-02-08 22:58:26 +01:00
975a386725
Add function to check the grammar of a text or buffer 2024-02-08 22:30:33 +01:00
b6f059d703
Minor improvements in the README 2024-02-08 22:03:23 +01:00
a0423c6748
Update / simplify configuration snippet 2024-02-07 18:58:35 +01:00
1b88201fa9
Add autoload to kagi-translate and remove from kagi-summarize 2024-02-07 18:12:28 +01:00
4842a575dc
Instruct FastGPT to return the translation only 2024-02-07 15:56:52 +01:00
826ff6acb4
Rename summary type to summary format, fix docstrings 2024-02-04 08:32:49 +01:00
8d33f85234
Fix duplicate summary_type key in request object 2024-02-04 08:29:33 +01:00
224972590a
Mention new variable in README 2024-02-03 23:03:15 +01:00
88032764df
Add changelog entry 2024-02-03 08:44:49 +01:00
42710abac6
Implement summarizer call with ability to produce a take-away 2024-02-03 07:51:06 +01:00
ed41982ed3
Merge branch 'main' into summary-takeaway 2024-02-03 07:26:52 +01:00
6627fc20d2
Version bump for bugfix release 2024-02-03 07:05:12 +01:00
a30003dc5f
Generate the buffer if it doesn't exist 2024-02-03 07:03:48 +01:00
e409be20b4
Do not insert a list element if no insert prompt is needed 2024-02-03 07:00:46 +01:00
6996098c1d
Fix buffer display 2024-02-03 07:00:31 +01:00