Comments (8)
看看你的open_ai_api_base的键值对 是不是正确的。
from chatgpt-on-wechat.
我也是这个问题
from chatgpt-on-wechat.
看看你的open_ai_api_base的键值对 是不是正确的。
我之前用的是docker部署,只配置了proxy,没配置base,现在用了个服务器域名来做base
2024-04-30 21:12:01 [WARNING][2024-04-30 13:12:01][chat_gpt_bot.py:150] - [CHATGPT] APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 400 Bad Request')))
又另外报错
from chatgpt-on-wechat.
这是我的docker配置文件
from chatgpt-on-wechat.
from chatgpt-on-wechat.
chatgpt-on-wechat | [WARNING][2024-04-29 11:35:28][chat_gpt_bot.py:150] - [CHATGPT] APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f456ed49f30>: Failed to establish a new connection: [Errno 111] Connection refused')))
GPT: 这个警告说明在与 OpenAI 通信时,尝试连接代理时出现了连接拒绝的错误(Connection refused)。这可能是由于代理设置错误、代理服务器不可用或网络问题等原因导致的。
应该是代理的设置问题,但是不知道问题出现在哪里
from chatgpt-on-wechat.
我的docker配置如下,能够正常运行使用,可以试下把base最后后面的/去掉?
from chatgpt-on-wechat.
我也是这个问题,在open_ai_api_base改好了base_url,不管怎么弄都会转到api.openai.com上面去。
from chatgpt-on-wechat.
Related Issues (20)
- 项目的docker方式存在一个必定卡死的BUG HOT 2
- 开发大佬们,项目有没有办法获取本地时间并能与提示词提交给大模型 HOT 2
- 服务时间限制代码的逻辑问题 HOT 1
- COW 是否有支持的英文插件,回复英文信息的,如果有是否可以提供一下,感谢。 HOT 1
- 微信扫码登录错误 HOT 6
- tag:1.6.5,model填: gpt-4o,无法使用 HOT 1
- 目前gpt返回的内容有可能出现markdown标签,是否能做个插件过滤处理掉这些markdown格式呢 HOT 1
- ollama做api后端 HOT 7
- 大佬,请问我在调用 fastgpt的时候,在回复的内容里面是含有图片的,请问如何在 cow 里面修改微信回复的时候,首先发送文本处理内容,然后发送相关的图片,谢谢 HOT 1
- [finish.py:23] - [Finish] inited 然后就一直卡在这里,不动了。 HOT 3
- 可以支持WhatsApp吗 HOT 1
- nas docker 部署 错误码1101 HOT 1
- 请问,不能接入自定义,本地微调后的模型吗?比如LLaMa3 HOT 2
- 使用fastgpt知识库apikey和接口,通过cow接入企微,机器人回复文字正常图片显示的是 HOT 1
- 百度模型出现提示,但是没错误 HOT 4
- 百度模型没有反应 HOT 1
- 个人微信正常登陆出现奇怪错误. HOT 1
- 加入通义法睿模型,这个挺好用的,强烈推荐加入!!
- Failed to import plugin **: module() takes at most 2 arguments (3 given) HOT 1
- help!!!终端收不到消息,也没有报错。 HOT 4
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 chatgpt-on-wechat.