mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c617b7e7d5 | ||
|
c1699b4193 | ||
|
4488110ea0 | ||
|
6a5a0efff9 | ||
|
61a8c65b2d |
@@ -1509,6 +1509,7 @@ $(document).ready(function () {
|
||||
textgenerationwebui_settings.top_p, // top_p
|
||||
textgenerationwebui_settings.typical_p, // typical_p
|
||||
textgenerationwebui_settings.rep_pen, // repetition_penalty
|
||||
1.0, // encoder rep pen
|
||||
textgenerationwebui_settings.top_k, // top_k
|
||||
0, // min_length
|
||||
textgenerationwebui_settings.rep_pen_size, // no_repeat_ngram_size
|
||||
@@ -1583,8 +1584,9 @@ $(document).ready(function () {
|
||||
getMessage = data.results[0].text;
|
||||
} else if (main_api == 'textgenerationwebui') {
|
||||
getMessage = data.data[0];
|
||||
if (getMessage == null) {
|
||||
runGenerate("");
|
||||
if (getMessage == null || data.error) {
|
||||
popup_type = 'text';
|
||||
callPopup('<h3>Got empty response from Text generation web UI. Try restarting the API with recommended options.</h3>');
|
||||
return;
|
||||
}
|
||||
getMessage = getMessage.substring(finalPromt.length);
|
||||
|
@@ -1,4 +1,5 @@
|
||||
### Silly TavernAI mod
|
||||
### Silly TavernAI 1.2.8 mod
|
||||
#### Update to 1.3.0 is likely not happenning, but I _may_ backport some features in future
|
||||
|
||||
<img width="400" alt="image" src="https://user-images.githubusercontent.com/18619528/224549531-ab30db22-fe33-49c5-81a8-945c543a1e05.png">
|
||||
|
||||
@@ -17,3 +18,7 @@
|
||||
|
||||
#### Questions or suggestions?
|
||||
Contact me on Discord: Cohee#1207
|
||||
|
||||
#### License
|
||||
* TAI Base: Unknown
|
||||
* My additions: Public domain (do whatever you want)
|
||||
|
Reference in New Issue
Block a user