Commit Graph

270 Commits

Author SHA1 Message Date
vfbd ff9058896e Add Repetition Penalty to Samplers menu 2022-08-23 15:42:23 -04:00
vfbd aee4beb27a Fix the Show Field Budget toggle 2022-08-23 15:26:15 -04:00
somebody 95796faf41 Add show budget setting 2022-08-22 17:25:55 -05:00
henk717 05ad6c100b
Merge pull request #185 from ebolam/united
Update for execution time timer
2022-08-19 15:29:06 +02:00
ebolam 10e3e64b0b Update for execution time timer 2022-08-18 19:10:18 -04:00
Henk b04a3a2fbb Dismiss reload warning when needed 2022-08-18 23:10:19 +02:00
henk717 c453643e2c
Merge pull request #183 from ebolam/united
Better Icon placement in AI load menu
2022-08-13 23:17:15 +02:00
ebolam 85d925aead Better Icon placement in AI load menu 2022-08-13 09:51:20 -04: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 555ca5fd05 Add token usage indicator 2022-08-11 17:31:12 -05:00
ebolam 9016e29c66 Fix for APIs and Custom Models not working in AI menu 2022-08-11 10:33:47 -04:00
vfbd f2e2c40bc8 Merge branch 'united' into api 2022-08-10 18:11:07 -04:00
vfbd 82ae749396 Merge branch 'united' into api 2022-08-08 18:14:50 -04:00
vfbd 1f629ee254 Add more endpoints 2022-08-08 17:51:40 -04:00
ebolam ad6bf95c42 Fix for model loading not updating some attributes on the page. 2022-08-08 10:16:10 -04:00
vfbd 34c9535667 Upload basic API with /generate POST endpoint 2022-08-08 02:27:48 -04: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
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
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
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
somebody a4d81292f8 Add token streaming option 2022-07-27 22:13:08 -05:00
ebolam 2b53598307
Fixes for file editor (#170)
Various fixes for the file editor by Ebolam
2022-07-20 00:50:03 +02:00
henk717 e8c39992a1
Merge pull request #166 from ebolam/united
Add file browser to soft prompts and user scripts
2022-07-04 19:52:05 +02:00
henk717 5d957e33ae
Merge branch 'KoboldAI:main' into united 2022-07-01 20:33:36 +02:00
vfbd c336a43544 Fix some remaining editor whitespace-fixing issues 2022-07-01 13:45:57 -04:00
vfbd c3eade8046 Fix editor bug in iOS when adding newline at end of the last action
Not only does iOS also have that issue that Chromium-based browsers
have, but it also has a different issue where it selects all text in the
last chunk of your story, so I added some code to deselect the text in
that case.
2022-07-01 13:12:57 -04:00
ebolam 813540fe9b Added folder browser for softprompts and userscripts 2022-06-30 19:13:05 -04:00
ebolam 97e0df45d7 File Dialog complete 2022-06-30 15:57:27 -04:00
vfbd 1ff0a4b9a9 Submit button now waits for inlineedit/inlinedelete commands 2022-06-30 12:23:06 -04:00
vfbd cccf8296fc Fix enter key sometimes putting two newlines in editor
This happens when, in a Chromium-based browser, you try to insert a
newline at the end of the last action of your story.
2022-06-30 12:03:39 -04:00
vfbd ce5f4d3dda Click on blank part of editor to defocus in Chromium based browsers
In Chromium based browsers you can now click the blank part of the
editor to submit changes. This is to maintain consistency with the
editor behaviour in Firefox which already did this when you clicked on
the blank part of the editor.
2022-06-30 11:31:54 -04:00
vfbd accbaea991 Fix a problem where a story with only the prompt cannot be edited 2022-06-30 11:08:22 -04:00
ebolam 58418c4aa5 Basic file browser with edit and delete functionality
Can be shown by going to /popup_test in a second tab.
2022-06-30 09:44:04 -04:00
henk717 979ea074f2
Merge pull request #165 from VE-FORBRYDERNE/seed
Add support for setting the RNG seed and full determinism
2022-06-28 19:42:40 +02:00
vfbd 048bd0ff3b Add support for setting the RNG seed and full determinism 2022-06-28 13:21:05 -04:00
henk717 72d661111d
Merge branch 'KoboldAI:main' into united 2022-06-28 18:37:31 +02:00
vfbd d55b4d9bbc Fix the cleanupChunkWhitespace function 2022-06-28 12:18:57 -04:00
vfbd 6576f5c01d Make sure editor changes are applied before submitting
(cherry picked from commit ae41ad298c)
2022-06-26 14:06:57 -04:00
vfbd 9d09ae5fea Clean up whitespace in the editor as well
(cherry picked from commit 6e138db1c0)
2022-06-26 14:05:04 -04:00
vfbd e30abd209f Preserve whitespace in the editor
(cherry picked from commit 793d788706)
2022-06-26 14:04:16 -04:00
vfbd ae41ad298c Make sure editor changes are applied before submitting 2022-06-26 13:40:58 -04:00
vfbd 6acfa8c33c Merge branch 'whitespace' into whitespace-cleanup 2022-06-24 12:44:30 -04:00
vfbd 6e138db1c0 Clean up whitespace in the editor as well 2022-06-24 12:44:00 -04:00
Gnome Ann 47a58a36b8 Add disk cache slider 2022-06-19 22:53:30 -04:00