Commit Graph

1873 Commits

Author SHA1 Message Date
vfbd 31ea1bafac Merge branch 'united' into mkultra 2022-08-12 17:47:27 -04:00
henk717 78a6f1cf08
Merge pull request #182 from VE-FORBRYDERNE/api
API
2022-08-12 20:46:14 +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 c21c1e3dc0 Don't show token usage when max tokens is unknown 2022-08-11 18:22:06 -05:00
somebody a28faa0cb2 Fix author's note token usage 2022-08-11 18:21:49 -05:00
henk717 e0229302cd
Merge branch 'KoboldAI:main' into united 2022-08-12 01:06:47 +02:00
Henk 60d330144b Remove banned notebooks 2022-08-12 01:06:27 +02:00
henk717 4ed913ad4f
Merge pull request #180 from ebolam/united
Fix for APIs and Custom Models not working in AI menu
2022-08-12 00:52:29 +02: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
ebolam 9016e29c66 Fix for APIs and Custom Models not working in AI menu 2022-08-11 10:33:47 -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 f2e2c40bc8 Merge branch 'united' into api 2022-08-10 18:11:07 -04:00
vfbd d2c06182f2 Remove annotation from api_version 2022-08-10 18:05:04 -04:00
henk717 784dea8298
Merge pull request #179 from ebolam/united
Fix for model loading not updating some attributes on the page.
2022-08-10 23:57:05 +02: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
ebolam ad6bf95c42 Fix for model loading not updating some attributes on the page. 2022-08-08 10:16:10 -04:00