-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Hi! First of all, thank you for your library, it's very useful :)
Context: This library is used in popular software N8N which helps automating a lot of workflows. When working with AI nodes, there are calls to this library to estimate token count (including when working with local LLMs through ollama). But in your code there is a request to tiktoken.pages.dev. Most of the times it works fine, but there are locations where availability of this destination is limited: some cloud providers (including some cloud installations of N8N itself), and local instances in some countries (seen a report from China, Russia and Armenia). See: n8n-io/n8n#12670
This results in long wait time before connection failure.
Question: Could you review settings of hosting provider or other configuration to make it possible for users from these locations to fetch the configuration files?