mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove penalties from 3-mini requests
This commit is contained in:
@ -2159,6 +2159,13 @@ async function sendOpenAIRequest(type, messages, signal) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isXAI) {
|
||||||
|
if (generate_data.model.includes('grok-3-mini')) {
|
||||||
|
delete generate_data.presence_penalty;
|
||||||
|
delete generate_data.frequency_penalty;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ((isOAI || isOpenRouter || isMistral || isCustom || isCohere || isNano || isXAI) && oai_settings.seed >= 0) {
|
if ((isOAI || isOpenRouter || isMistral || isCustom || isCohere || isNano || isXAI) && oai_settings.seed >= 0) {
|
||||||
generate_data['seed'] = oai_settings.seed;
|
generate_data['seed'] = oai_settings.seed;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user