Commit Graph

4150 Commits

Author SHA1 Message Date
92bd766bcb Rename chat completions endpoints
OpenAI calls this the "Chat Completions API", in contrast to their
previous "Text Completions API", so that's what I'm naming it; both
because other services besides OpenAI implement it, and to avoid
confusion with the existing /api/openai route used for OpenAI extras.
2023-12-13 18:52:08 -05:00
796659f68c Add proper fetch import 2023-12-14 01:39:34 +02:00
c8bc9cf24c Fix route name 2023-12-14 01:37:51 +02:00
0cd92f13b4 Merge branch 'staging' into separate-kobold-endpoints 2023-12-14 01:33:36 +02:00
cebd6e9e0f Add API token ids from KoboldCpp 2023-12-14 01:28:18 +02:00
b957e3b875 Merge pull request #1518 from valadaptive/separate-ooba-endpoints
Move Ooba/textgenerationwebui endpoints into their own module
2023-12-14 01:27:05 +02:00
fec27820ff (claude)reworked prefix assignment, sysprompt mode, console message display 2023-12-13 21:19:26 +02:00
0d0dd5e170 Revert old comment 2023-12-13 02:50:50 +02:00
52de5869fe Rename file, add missing fetch 2023-12-13 02:22:35 +02:00
51d50f97cc Merge pull request #1525 from valadaptive/cache-stopping-strings
Cache stopping strings rather than skipping them during streaming
2023-12-13 01:06:44 +02:00
2c159ff93f Move Kobold API endpoints to their own module 2023-12-12 16:42:12 -05:00
274605a07c Rename Kobold-related endpoints 2023-12-12 16:42:12 -05:00
35c2f8bf66 Move text completions API endpoints to own module 2023-12-12 16:41:16 -05:00
5b3c96df50 Rename /textgenerationwebui endpoint
I'd like to migrate over to using "textgen" to mean text-generation APIs
in general, so I've renamed the /textgenerationwebui/* endpoints to
/backends/text-completions/*.
2023-12-12 16:40:14 -05:00
7732865e4c Another explanatory comment 2023-12-12 16:36:47 -05:00
87cbe361fc Cache stopping strings rather than skipping them 2023-12-12 16:32:54 -05:00
3d7706e6b3 #1524 Skip stop strings clean-up during streaming 2023-12-12 23:09:39 +02:00
83f2c1a8ed #1524 Add FPS limiter to streamed rendering 2023-12-12 22:11:23 +02:00
9160de7714 Run macros on impersonation prompt 2023-12-12 19:24:32 +02:00
9176f46caf Add /preset command 2023-12-12 19:14:17 +02:00
2ca9015a5f Add filters to serpapi/visit 2023-12-12 03:56:36 +02:00
a9a05b17b9 Merge pull request #1517 from LenAnderson/firstIncludedMessageId
Add macro for first included message in context
2023-12-12 01:24:57 +02:00
07fecacce2 Add to macro help 2023-12-12 01:24:21 +02:00
f1ed60953a Merge pull request #1516 from LenAnderson/slash-command-for-getTokenCount
Add /tokens slash command to call getTokenCount
2023-12-12 01:19:24 +02:00
299749a4e7 Add prerequisites for websearch extension 2023-12-12 01:08:47 +02:00
2bdd3672d4 add macro for first included message in context 2023-12-11 23:06:21 +00:00
69f90a0b30 add /tokens slash command to call getTokenCount 2023-12-11 22:51:07 +00:00
1b11ddc26a Add vector storage to WI scanning 2023-12-11 22:47:26 +02:00
afe3e824b1 Unblock left swipe on swipeId overflow. 2023-12-11 21:16:09 +02:00
e713021737 Merge pull request #1511 from valadaptive/more-kobold-cleanups
More Kobold cleanups
2023-12-11 20:59:49 +02:00
05ab147209 Fix swipes getting stuck when no Horde models selected 2023-12-11 20:46:34 +02:00
27782b2f83 Fix united version comparison 2023-12-11 20:44:29 +02:00
ce8cc59e4d Remove fetchJSON 2023-12-11 13:32:38 -05:00
7482a75bbd Merge pull request #1493 from valadaptive/generate-cleanups
Clean up Generate(), part 1
2023-12-11 20:21:32 +02:00
d38a4dc6c1 Fix abort group generation 2023-12-11 20:03:31 +02:00
0302686a96 Return from Generate if calling circuit breaker 2023-12-11 19:07:33 +02:00
e96fb0c1b5 Fix group wrapper not resolving to a valid text 2023-12-11 19:00:42 +02:00
0fcf8fd491 Typing indicator fixed 2023-12-11 18:23:00 +02:00
e8678ea5df Merge pull request #1512 from valadaptive/recommend-eslint
Recommend the ESLint extension to VSCode users
2023-12-11 17:17:23 +02:00
3b33c3e51a Add editorconfig 2023-12-11 17:17:04 +02:00
c48e447c42 Add rows and button text to import window 2023-12-11 16:23:47 +02:00
17105568f4 Reduce hard coded anim. durations 2023-12-11 16:23:21 +02:00
e7c2975ab0 Fix adv.defs overlap with past chats. Close CFG with Escape 2023-12-11 15:39:58 +02:00
c6bd3ef255 Fix /sys continue in groups 2023-12-11 15:08:20 +02:00
f1cd7e89db Recommend the ESLint extension to VSCode users 2023-12-10 21:39:02 -05:00
42d4ffe5e8 Remove Kobold "canUse(...)" functions
Replace them all with a versionCompare helper function which we can call
directly with the minimum version constants.
2023-12-10 20:39:21 -05:00
d33cb0d8d1 Clarify getstatus API
Instead of "version" and "koboldVersion", have "koboldUnitedVersion" and
"koboldCppVersion", the latter of which is null if we're not connected
to KoboldCpp.
2023-12-10 20:34:11 -05:00
1fbf4394c8 Separate Kobold Horde status function 2023-12-10 20:16:07 -05:00
3ab1962b84 Improve circuit breaker
We now track the loop counter as a parameter of Generate that we
decrement with every recursive call, rather than a global variable,
and it *should* now work with quiet prompt generation.
2023-12-10 18:46:28 -05:00
3d7c901464 Remove looping backoff behavior 2023-12-10 18:35:46 -05:00