mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove legacy API for Aphrodite
This commit is contained in:
@ -869,7 +869,7 @@ function getTextgenAPITokenizationParams(str) {
|
||||
text: str,
|
||||
api_type: textgen_settings.type,
|
||||
url: getTextGenServer(),
|
||||
legacy_api: textgen_settings.legacy_api && (textgen_settings.type === OOBA || textgen_settings.type === APHRODITE),
|
||||
legacy_api: textgen_settings.legacy_api && textgen_settings.type === OOBA,
|
||||
vllm_model: textgen_settings.vllm_model,
|
||||
aphrodite_model: textgen_settings.aphrodite_model,
|
||||
};
|
||||
|
Reference in New Issue
Block a user