mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-22 05:12:05 +08:00
161005a0c1
date: 2025-11-19T19:10:11 master commit: a29fdbd02407d41ecbcc69d151bb4837bfba3cbc
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 }; |