Commit Graph

486 Commits

Author SHA1 Message Date
Mike Weldon
41ec7e5600 Many NovelAI fixes from dev guidance
* Remove AI Module "Autoselect" and make the auto-instruct work for all modules. This is how NAI is supposed to work.
* Log the response from the API.
* Move the AI Module setting up to the top of the settings window since it isn't part of the preset.
* Refactor phrase_rep_pen to use the actual API strings.
* Clamp the maximum token length to 150 before we call the API.
* Clamp the minimum token length in the UX from 1 to 150.
* Fix bug where the preamble was not initialized on cold start.
* Get rid of extra newline before dinkus.
* Make always_force_name2 default true.
2023-08-14 19:35:21 -07:00
Mike Weldon
a0573413b2 Add new NAI samplers and update presets 2023-08-11 17:58:40 -07:00
spacegeek69
4b48861d13 [OpenRouter] Switch to token per dollar for prices 2023-08-10 21:13:24 +02:00
Cohee
23e869f56a Implicit variables to explicit 2023-08-10 20:06:18 +03:00
spacegeek69
0ede3894e2 [OpenRouter] Show API prices on connect in console 2023-08-10 11:21:58 +02:00
Cohee
25bd2541f7 Fix server crash in error handler 2023-08-08 23:11:27 +03:00
Cohee
c94eae6eb6 Improve OpenAI/OpenRouter error parsing 2023-08-08 20:07:41 +03:00
Cohee
9a7654598e Don't crash the server on trying to display corrupted past chat 2023-08-08 17:56:13 +03:00
Cohee
5f97a52d58 #895 Move AI Horde connection to related endpoints 2023-08-07 19:34:10 +03:00
Cohee
151f4d322c #883 Add option to disable CSRF tokens 2023-08-06 16:42:15 +03:00
Cohee
74b973c571 Fix Novel error handling 2023-08-05 21:15:49 +03:00
Cohee
cd8a24a712 Fix bulk edit 2023-08-04 14:41:00 +03:00
50h100a
9cf4056b28 Do backflips trying to get error information from endpoints.
Then present it nicely.
2023-08-03 07:32:53 -04:00
50h100a
61c0e3b08b Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into mancer-api 2023-08-02 23:46:03 -04:00
50h100a
d4278388f7 remove non-changes 2023-08-02 23:38:50 -04:00
50h100a
2fdec7eb03 Added authentication variant to WebUI API. 2023-08-02 23:25:24 -04:00
Cohee1207
65a16970f4 Extend cases for OAI status code message pulling 2023-08-02 23:02:29 +03:00
gd1551
ea800d1550 Add stop sequences support to NovelAI generations 2023-08-02 22:42:11 +03:00
Cohee
af8c21fea2 Send middle-out transform strategy to OpenRouter 2023-08-01 18:49:03 +03:00
Cohee
7596d78322 #844 Properly handle KoboldAI errors 2023-08-01 15:22:51 +03:00
Mike Weldon
73ea029acd Fix rep penalty parameter name 2023-07-30 14:14:17 -07:00
Mike Weldon
27c6e5ecff Fix some presets, bad words, rep allowlist, and banned tokens 2023-07-30 14:03:28 -07:00
Cohee
dddc49c235 #798 Claude assistant prefill 2023-07-30 01:51:59 +03:00
RossAscends
a646aaa125 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-07-30 06:22:05 +09:00
RossAscends
80a0cb2bc4 MPV of QuickReply Presets 2023-07-30 06:22:03 +09:00
Cohee
df8d7075a8 Handle 451 from OpenRouter 2023-07-29 22:50:07 +03:00
Mike Weldon
732707ae2b Turn on instruct mode for NAI 2023-07-28 22:56:31 -07:00
Mike Weldon
b107848ccb Add Kayra presets 2023-07-28 17:23:28 -07:00
Cohee
3fb4756c03 #803 Add a separate field for proxy password 2023-07-28 21:33:29 +03:00
Cohee1207
3eea8a714c #789 Add sorting by char.data strings size ("tokens") 2023-07-27 23:45:25 +03:00
Cohee
0df8c4b6a2
Merge pull request #774 from city-unit/feature/delete
More general/functionalized char delete methods
2023-07-24 22:45:41 +03:00
city-unit
8fdea22379 Move delete calls to functions, generalize delete endpoint. 2023-07-24 15:05:27 -04:00
Cohee
130559d499 #746 Add preset manager for ooba/kobold 2023-07-23 23:52:31 +03:00
Cohee1207
f28e7cf47c Redirect to OpenAI site to view usage 2023-07-21 23:35:54 +03:00
Cohee
b05d501f82 Add default content by contest winners 2023-07-21 15:28:32 +03:00
Cohee
edd41989fd Initial commit 2023-07-20 20:32:15 +03:00