Comments (3)
docker 的网络地址和宿主机的是分开的,docker 命令加上--network=host
再运行看看
from one-api.
@QAbot-zh 加上这个条件以后 13000端口就关闭了,
WARNING: Published ports are discarded when using host network mode
8b933112d16a28e0ba86a788931adbdb4c8fc40ea4302a823a78219f108ad2c8
我之前有这个参数, -p 13000:3000
这样,我都进不去页面, 无法配置渠道了,我原来都是通过 0.0.0.0:13000在one-api里配置渠道什么的。
如何保留这个13000:3000的映射呢? 另外,我的127.0.0.1:3000 已经被一个fastgpt的进程占用了
from one-api.
我遇到同样的问题,用postman和curl调用 http://127.0.0.1:8000/v1/chat/completions 都是可以的,后台显示有调用函数。在OneAPI上点击测试出现Do request failed post: "http://127.0.0.1:8000/v1/chat/completions": dial tcp 127.0.0.1:8000: connect: connection refused。后台显示根本没进入函数。
from one-api.
Related Issues (20)
- 点击测试后,程序直接退出
- 文心一言 ERNIE-Lite-8K-0922调用失败 HOT 2
- 能不能加上tiktoken的离线加载 HOT 2
- v0.6.6 Berry 主题不兼容 页面会白屏 HOT 5
- 请求支持谷歌Vertex AI HOT 1
- docker版本dns解析超时 HOT 1
- 讯飞3.5无法支持function calling
- 对于模型无可用渠道时应返回404而不是503
- one api 接入 dify 在联通的情况下,报错
- 调用阿里云 通义千问api报错 HOT 3
- docker 版的怎么没有添加渠道的功能? HOT 2
- 希望增加对百度开物的支持。
- 根据环境变量设置root初始密码 HOT 2
- relay error (channel id 2, user id: 1): Open api daily request limit reached HOT 1
- 请求支持claude的tools
- 针对令牌进行 并发限制
- claude的opus的开源版和pro对不上
- azure openai不稳定,隔一会就报错、过一会又正常,do request failed HOT 1
- 请求添加百川新模型支持
- 希望可以兼容ChatTTS语音识别
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from one-api.