Add 01.AI as a chat completion source

This commit is contained in:
Cohee
2024-06-28 00:51:09 +03:00
parent 537cfbc027
commit cf56bfb6a9
11 changed files with 183 additions and 5 deletions

View File

@ -545,6 +545,10 @@ export function getTokenizerModel() {
}
}
if (oai_settings.chat_completion_source === chat_completion_sources.ZEROONEAI) {
return yiTokenizer;
}
// Default to Turbo 3.5
return turboTokenizer;
}