Expand OAI Setting Compatibility

This commit is contained in:
henk717 2022-03-07 08:56:47 +01:00
parent f6c95f18fa
commit 7434c9221b
1 changed files with 5 additions and 0 deletions

View File

@ -4332,6 +4332,11 @@ def oairequest(txt, min, max):
'max_tokens': max,
'temperature': vars.temp,
'top_p': vars.top_p,
'top_k': vars.top_k,
'tfs': vars.tfs,
'repetition_penalty': vars.rep_pen,
'repetition_penalty_slope': vars.rep_pen_slope,
'repetition_penalty_range': vars.rep_pen_range,
'n': 1,
'stream': False
}