Force disable streaming

This commit is contained in:
SillyLossy
2023-03-22 12:42:04 +02:00
parent 6aa7bef671
commit 2e5244eec4
2 changed files with 3 additions and 3 deletions

View File

@ -989,7 +989,7 @@ async function Generate(type, automatic_trigger, force_name2) {//encode("dsfs").
var storyString = "";
var userSendString = "";
var finalPromt = "";
var postAnchorChar = "talks a lot with descriptions";//'Talk a lot with description what is going on around';// in asterisks
var postAnchorChar = "Elaborate speaker";//'Talk a lot with description what is going on around';// in asterisks
var postAnchorStyle = "Writing style: very long messages";//"[Genre: roleplay chat][Tone: very long messages with descriptions]";
var anchorTop = '';
var anchorBottom = '';

View File

@ -50,7 +50,7 @@ const oai_settings = {
temp_openai: 1.0,
freq_pen_openai: 0,
pres_pen_openai: 0,
stream_openai: true,
stream_openai: false,
openai_max_context: 4095,
openai_max_tokens: 300,
nsfw_toggle: true,
@ -316,7 +316,7 @@ async function sendOpenAIRequest(openai_msgs_tosend) {
"frequency_penalty": parseFloat(oai_settings.freq_pen_openai),
"presence_penalty": parseFloat(oai_settings.pres_pen_openai),
"max_tokens": oai_settings.openai_max_tokens,
"stream": oai_settings.stream_openai,
"stream": false, //oai_settings.stream_openai,
};
const generate_url = '/generate_openai';