Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to get gpt-4o token encoder #1819

Open
wujingbo-web opened this issue Sep 20, 2024 · 0 comments
Open

failed to get gpt-4o token encoder #1819

wujingbo-web opened this issue Sep 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@wujingbo-web
Copy link

例行检查

问题描述
failed to get gpt-4o token encoder: Get "https://openaipublic.blob.core.windows.net/encodings/o200k_base.tiktoken": proxyconnect tcp: dial tcp [::1]:7890: connect: connection refused
---------请问各位,遇到了gpt-4o令牌获取错误,如何解决呢?3.5的类似错误已经解决了,还剩下这个问题,不知道怎么办。请帮忙?谢谢
复现步骤
启动容器镜像:
nohup docker run --name one-api -d --restart always --privileged=true -p 18081:3000 -e TZ=Asia/Shanghai -e TIKTOKEN_CACHE_DIR=/data/cache -v /data1/one-api:/data ghcr.io/songquanpeng/one-api &
预期结果
正常启动
相关截图
日志报错如上:
failed to get gpt-4o token encoder: Get "https://openaipublic.blob.core.windows.net/encodings/o200k_base.tiktoken": proxyconnect tcp: dial tcp [::1]:7890: connect: connection refused
如果没有的话,请删除此节。

@wujingbo-web wujingbo-web added the bug Something isn't working label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant