Commit Graph

768 Commits

Author SHA1 Message Date
vfbd 74922966bd Merge branch 'avril' into rep-pen-order 2022-08-23 14:47:29 -04:00
somebody d7ebd2ae20 Dont broadcast token usage 2022-08-22 17:25:33 -05:00
ebolam 137695106d Fix for gooseai 2022-08-17 18:03:48 -04:00
ebolam a19300b3ca
Merge branch 'henk717:united' into united 2022-08-17 09:07:01 -04:00
ebolam 0032462837 Fix for vars.model getting set on AI selection in the UI rather than when actually loaded 2022-08-13 20:12:35 -04:00
Henk 6acccbf7a4 Save null seed to settings 2022-08-14 02:09:53 +02:00
vfbd a7fb2c8414 Merge branch 'united' into api 2022-08-12 13:57:50 -04:00
Henk 09a709f0dc Merge branch 'token-usage-textsize' into united 2022-08-12 01:46:33 +02:00
somebody 6ac970b1c0 Update author's template effect token usage live 2022-08-11 18:38:29 -05:00
somebody a28faa0cb2 Fix author's note token usage 2022-08-11 18:21:49 -05:00
vfbd e879d1c5f3 Hide the warning about `torch.distributed.reduce_op` being deprecated 2022-08-11 18:42:56 -04:00
somebody 555ca5fd05 Add token usage indicator 2022-08-11 17:31:12 -05:00
vfbd 8c7ed92fef --no_ui for disabling the main GUI and Socket.IO server 2022-08-11 18:21:35 -04:00
ebolam ca2c60d423 Fix for --nobreakmodel 2022-08-11 18:12:50 -04:00
ebolam bddcd7ab7f Deeper disable of --nobreakmodel attempt 2022-08-11 17:47:19 -04:00
vfbd 8fbca2db5a actionsubmit should not ignore vars.aibusy if vars.standalone is True 2022-08-11 15:27:07 -04:00
ebolam 45495d8792 Fix for --cpu on command line and MAYBE --nobreakmodel 2022-08-11 15:23:35 -04:00
vfbd 8b299525fd sendtoapi now automatically detects tokenizer 2022-08-11 14:57:13 -04:00
vfbd d328c2c1de Add GET /model endpoint 2022-08-11 14:55:38 -04:00
vfbd cd7ff2b141 Change behaviour of disable_input/output_formatting 2022-08-11 14:30:14 -04:00
vfbd bd703cd36a Warn about disable_input_formatting and disable_output_formatting 2022-08-11 14:12:07 -04:00
vfbd df111b944d Input formatting is now actually applied when generating with API 2022-08-11 14:11:17 -04:00
vfbd c0c9d62cd7 Latest API version is now automatically calculated 2022-08-11 14:00:43 -04:00
vfbd 8482df0d8d Remove HTTP error 422 from specifications where it is never thrown 2022-08-11 13:56:00 -04:00
vfbd 78cc5da87f `calcsubmitbudget` no longer adds `_koboldai_header` to API requests 2022-08-11 13:37:09 -04:00
vfbd 43e318bdc2 Safer method of determining request URL in sendtoapi 2022-08-11 13:29:47 -04:00
ebolam 64664dc61e Fix for the AI menu to respect the --cpu command line flag 2022-08-11 10:40:32 -04:00
vfbd 1527db894e Fix specification of GET /story/nums/{num} 2022-08-10 21:09:29 -04:00
vfbd 6853625570 Allow KoboldAI to use its own API to generate text 2022-08-10 21:00:17 -04:00
vfbd 4eff7bf3ba /api now redirects to /api/latest 2022-08-10 18:22:46 -04:00
vfbd d2c06182f2 Remove annotation from api_version 2022-08-10 18:05:04 -04:00
vfbd 2af57adff3 API v1.1.0 2022-08-10 14:48:01 -04:00
vfbd becda8b842 Error 405 now sets Allow header 2022-08-09 22:32:24 -04:00
vfbd 5352c14c59 Fix typo in /config/soft_prompt documentation 2022-08-08 19:20:48 -04:00
vfbd c04e3c5666 Fix /docs/ redirects 2022-08-08 18:21:46 -04:00
vfbd 55c4acad8f Disable probability viewer and output streaming when using API 2022-08-08 18:16:08 -04:00
vfbd 82ae749396 Merge branch 'united' into api 2022-08-08 18:14:50 -04:00
vfbd aa01d1419d Add /story/end/delete and /story endpoints 2022-08-08 18:08:55 -04:00
vfbd 1f629ee254 Add more endpoints 2022-08-08 17:51:40 -04:00
vfbd a93087aecd Fix `api_format_docstring` 2022-08-08 14:21:50 -04:00
vfbd ddda981436 Improve /generate description 2022-08-08 14:19:43 -04:00
vfbd dc0fa9bff1 Add redirects to /api/v1/docs/ 2022-08-08 14:16:38 -04:00
vfbd ce064168e3 Additional validation for soft_prompt in API 2022-08-08 13:52:07 -04:00
vfbd de1e8f266a ValidationErrorSchema now has minItems 1 for its arrays 2022-08-08 13:22:18 -04:00
vfbd 596f619999 Unknown values in API input are now ignored instead of causing error 2022-08-08 13:17:53 -04:00
vfbd 3b56859c12 vars.disable_input_formatting and vars.disable_output_formatting fix 2022-08-08 13:04:46 -04:00
vfbd 34c9535667 Upload basic API with /generate POST endpoint 2022-08-08 02:27:48 -04:00
Henk 77e2a7972c Fix incorrect max tokens 2022-08-06 17:28:55 +02:00
Henk fe00581b83 Merge branch 'main' into united 2022-08-06 17:10:09 +02:00
Henk c71fd0cc3f OPT Nerys V2 6B 2022-08-06 17:04:22 +02:00