Skip to content

feat: implement download and configure tiktoken cache#15

Merged
qinxuye merged 1 commit intoxorbitsai:masterfrom
bsbds:fix/tiktoken-cache
Mar 13, 2026
Merged

feat: implement download and configure tiktoken cache#15
qinxuye merged 1 commit intoxorbitsai:masterfrom
bsbds:fix/tiktoken-cache

Conversation

@bsbds
Copy link
Copy Markdown
Collaborator

@bsbds bsbds commented Mar 13, 2026

Allows download and configure tiktoken cache dir.

Pre-download the tiktoken file using

python -c "from deepdoc.common.tiktoken_cache import download_cl100k_base; print(download_cl100k_base())"

Copy link
Copy Markdown

@qinxuye qinxuye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qinxuye qinxuye merged commit 356098f into xorbitsai:master Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants