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
ebolam
2964175d8b
Fix for flaskwebgui
2022-06-17 08:17:22 -04:00
henk717
de07b1749f
Merge pull request #150 from ebolam/Web-UI
...
Delete model fixes and model info ui cleanup
2022-06-15 01:50:39 +02:00
ebolam
095cd2a19d
Prevent on server side deletion of folders other than in models in the executing directory
...
Removed delete icon for model folders outside the models directory
2022-06-14 19:39:11 -04:00
ebolam
899f191b51
Fix for model information not being centered and having the wrong background
2022-06-14 19:26:02 -04:00
henk717
9add3b0761
Merge pull request #149 from ebolam/Web-UI
...
--remote jailed to model directory and delete of models from UI
2022-06-15 01:14:06 +02:00
ebolam
462206fa86
added --remote not allowing navigation outside of the model folder for custom models.
...
added a delete custom models option (will not delete models outside of the models directory, nor will it delete non-model directories)
2022-06-14 19:11:30 -04:00
Gnome Ann
107966fef8
Merge branch 'united' into overhaul-merge
2022-06-14 18:47:38 -04:00
Gnome Ann
18218a99bc
Merge commit '8a38b258f497281af06fcb0c2559f382b419b938' into overhaul-merge
2022-06-14 18:36:37 -04:00
ebolam
780548fba9
Added text input box for layer assignment
2022-06-14 11:53:47 -04:00
Gnome Ann
6231106f95
Add Samplers menu
2022-06-13 20:18:09 -04:00
ebolam
11ed55f34a
Added custom text box for loading models from specific path, or loading other models from hugging face.
2022-06-13 13:48:45 -04:00
Gnome Ann
fdb2a7fa4c
Top-A sampling
2022-06-10 22:28:20 -04:00
ebolam
5110e956d2
Added execution time to the UI
2022-06-10 20:51:22 -04:00
ebolam
cfd1147d5a
Bug fix for loading model after loading a model duplicating the settings menu until the website is refreshed
...
Fixed escaping warnings
Added back/redo unit test
2022-06-10 14:47:52 -04:00
ebolam
32b883892a
Added favicon swapping mechanism on aibusy
2022-06-09 20:03:34 -04:00
ebolam
db9a94ca2a
Added GPU name to the UI when using break models.
...
Added total layers to the UI
Added favicon
2022-06-09 08:42:35 -04:00
ebolam
c565978fff
Fix for multi-gpu not showing appropriately
...
Slight visual improvement for custom model load breadcrumbs
2022-06-08 19:39:04 -04:00
ebolam
622a3fc8db
Fix for model loading by moving monkey patching functions into a run-once function
...
Added folder navigation to custom model loading (Needs prittying)
2022-06-08 18:42:44 -04:00
ebolam
6fd2496d94
Fix for green opening text showing OAI and/or OAI/GooseAI model name rather than the appropriate name.
2022-06-07 13:47:10 -04:00
ebolam
bf4af94abb
Hopefully a fix for InferKit
2022-06-07 08:22:10 -04:00
ebolam
edbf36a632
Web UI functional for GooseAI (and presumably OpenAI).
...
Fix for Breakmodel layer info saving
2022-06-06 19:21:10 -04:00
ebolam
d9480ec439
Fix for lazy loading
2022-06-06 14:27:47 -04:00
ebolam
c984f4412d
Fix for web based model loading
2022-06-06 12:49:40 -04:00
ebolam
1e139594a9
Merge commit 'refs/pull/7/head' of https://github.com/ebolam/KoboldAI into HEAD
2022-06-06 09:49:46 -04:00