mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
refactor(tokenizer.js): remove console.log statement from tokenizer.js
This commit is contained in:
parent
5c5871afd8
commit
dcf2ee480b
1 changed files with 1 additions and 2 deletions
|
|
@ -9,8 +9,7 @@ router.post('/', async (req, res) => {
|
|||
try {
|
||||
const { arg } = req.body;
|
||||
|
||||
console.log('context:', arg, req.body);
|
||||
|
||||
// console.log('context:', arg, req.body);
|
||||
// console.log(typeof req.body === 'object' ? { ...req.body, ...req.query } : req.query);
|
||||
const model = await load(registry[models['gpt-3.5-turbo']]);
|
||||
const encoder = new Tiktoken(model.bpe_ranks, model.special_tokens, model.pat_str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue