Logit bias (start)

This commit is contained in:
SillyLossy
2023-04-04 00:23:36 +03:00
parent ce85c5b21d
commit 263090660d
3 changed files with 97 additions and 10 deletions

View File

@ -2118,6 +2118,10 @@ function changeMainAPI() {
apiObj.apiRanges.css("display", isCurrentApi ? "block" : "none");
apiObj.apiPresets.css("display", isCurrentApi ? "block" : "none");
if (isCurrentApi && apiName === "openai") {
apiObj.apiPresets.css("display", "flex");
}
if (isCurrentApi && apiName === "kobold") {
//console.log("enabling SP for kobold");
$("#softprompt_block").css("display", "block");