feat: 修改文件名

This commit is contained in:
kite 2026-04-30 13:41:28 +08:00
parent 49cb6293c6
commit 84df4034ef
2 changed files with 2 additions and 2 deletions

View file

@ -10,10 +10,10 @@ import (
tiktoken "github.com/pkoukk/tiktoken-go"
)
//go:embed embed/*.tiktoken
//go:embed bpe_data/*.tiktoken
var embedFS embed.FS
const embedPrefix = "embed/"
const embedPrefix = "bpe_data/"
// initEmbeddedLoader configures tiktoken to use embedded BPE data instead of fetching from network.
// Call this once during application startup, before any GetEncoding/EncodingForModel calls.