mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-25 16:02:14 +08:00
db5cbadcf2
date: 2025-06-05T19:54:08 master commit: 8aadf02b2fd91f4e1285e18c2c7feb32d93b66f5
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 }; |