Commit Graph

1895 Commits

Author SHA1 Message Date
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
vfbd 3460e62271 Mark /static/swagger-ui as linguist-vendored 2022-08-08 02:40:39 -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 76c7783ac8 Hide useless scrollbars on model list 2022-08-06 17:15:29 +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
Henk 610257b36e Output Streaming on by Default 2022-08-06 16:47:04 +02:00
Henk fccb464989 Polish 2 2022-08-06 16:43:45 +02:00
Henk 0a0bd75617 Polish 2022-08-06 16:42:15 +02:00
henk717 8bcf4187ac
Merge pull request #178 from one-some/token-prob
Add token probability visualizer
2022-08-05 14:27:46 +02:00
henk717 ed9391431b
Merge pull request #177 from ebolam/united
Fix for secondary model loads leaking settings into secondary model's…
2022-08-05 14:20:25 +02:00
ebolam b484b973d9 Fix for custom model box not showing up in model load menu if there aren't any models in the model folder 2022-08-04 19:26:55 -04:00
somebody f6d046fe1b Add token probability visualizer 2022-08-04 13:49:37 -05:00
henk717 5f1ffc0cd4
Merge branch 'KoboldAI:main' into united 2022-08-04 20:48:31 +02:00
henk717 c753eb24c8
Merge pull request #148 from LightSaveUs/main
Updated ReadMe and 2.7B models descriptions
2022-08-04 20:48:15 +02:00
vfbd 8823059713 Merge branch 'united' into mkultra 2022-08-03 15:58:13 -04:00
vfbd 00e8928ee6 Upload current progress 2022-08-03 15:57:23 -04:00
LightSaveUs c314dde330
Returned the information about chatbot mode 2022-08-03 18:11:59 +03:00
LightSaveUs ee22248855
Updated the readme to reflect current reality 2022-08-03 03:06:18 +03:00
ebolam 71e119f0b7 Fix for secondary model loads leaking settings into secondary model's settings file. 2022-08-02 19:45:36 -04:00
ebolam 7ab39bac0f
Merge pull request #21 from henk717/united
Update to current
2022-08-02 19:38:16 -04:00
LightSaveUs c0d344d125
Fix for 2.7B model names in their descriptions 2022-08-03 01:56:31 +03:00
LightSaveUs c5e0e8a2be
Fix for 2.7B model names in their descriptions 2022-08-03 01:53:49 +03:00
henk717 bd13a41eb7
Merge pull request #176 from one-some/shortcuts
Add editor shortcuts and actually fix streaming newline bug
2022-07-31 12:46:17 +02:00
somebody 59d55369cb Add shortcuts
Adds shortcuts to the UI. These shortcuts are:
Ctrl-Z: Undo
Ctrl-Y: Redo
Ctrl-E: Retry
2022-07-30 21:34:42 -05:00
somebody 5d135e091e Fix the streaming newline bug (for real this time I promise)
After actually investigating the cause of the bug instead of duct taping
a fix on, I have produced a better fix. The previous fix caused a bug
where there a newline was *removed* where it shouldn't have been when
undoing and redoing. The reason this bug was happening in the first
place was because some "newline regulation" code was falsely detecting
the output stream as a text chunk, and attempted to remove a newline
from there instead of the actual chunk.
2022-07-30 21:28:50 -05:00
henk717 56783a1257
Merge pull request #175 from one-some/token-streaming-newline-fix
Fix arbitrary newline insertion when token streaming is enabled
2022-07-31 01:22:15 +02:00
somebody 32ad83df8e Fix arbitrary newline insertion when token streaming is enabled
In adventure mode with token streaming enabled, retrying after an action
would cause a <br> element to be inserted into the action. This prevents
the insertion of the <br> if token streaming is enabled.
2022-07-30 15:05:54 -05:00