mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-22 05:12:05 +08:00
6928314c89
date: 2025-12-18T23:23:16 master commit: 154c2334110373950bac1c36fc6e943cb1208326
5 lines
257 B
JavaScript
5 lines
257 B
JavaScript
// Force Webpack to copy the WASM
|
|
import 'tiktoken/tiktoken_bg.wasm';
|
|
import { init, get_encoding, encoding_for_model, Tiktoken } from 'tiktoken/init';
|
|
import { load } from 'tiktoken/load';
|
|
export { init, get_encoding, encoding_for_model, Tiktoken, load }; |