Remove BOS from KoboldCpp token encoding Fixes #4663
| @@ -1088,7 +1088,7 @@ router.post('/remote/textgenerationwebui/encode', async function (request, respo | ||
| 1088 | 1088 | break; |
| 1089 | 1089 | case TEXTGEN_TYPES.KOBOLDCPP: |
| 1090 | 1090 | url += '/api/extra/tokencount'; |
| 1091 | 1091 | args.body = JSON.stringify({ 'prompt': text, 'special': false }); |
| 1092 | 1092 | break; |
| 1093 | 1093 | case TEXTGEN_TYPES.LLAMACPP: |
| 1094 | 1094 | url += '/tokenize'; |