We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Windows
python 3.7
Latest Release
channel
wxy(个人微信, wechaty)
在 docker部署完成后,使用下面的yml
version: '2.0' services: chatgpt-on-wechat: image: zhayujie/chatgpt-on-wechat container_name: chatgpt-on-wechat security_opt: - seccomp:unconfined environment: PROXY: '' SINGLE_CHAT_PREFIX: '[""]' SINGLE_CHAT_REPLY_PREFIX: '""' GROUP_CHAT_PREFIX: '["@bot"]' GROUP_NAME_WHITE_LIST: '["ChatGPT测试群", "ChatGPT测试群2"]' IMAGE_CREATE_PREFIX: '["画", "看", "找"]' CONVERSATION_MAX_TOKENS: 8192 SPEECH_RECOGNITION: 'False' CHARACTER_DESC: '' EXPIRES_IN_SECONDS: 3600 USE_GLOBAL_PLUGIN_CONFIG: 'True' USE_LINKAI: 'False' LINKAI_API_KEY: '' LINKAI_APP_CODE: '' open_ai_api_base: 'https://api.deepseek.com' OPEN_AI_API_KEY: 'sk-***' MODEL: 'deepseek-reasoner' channel_type: 'wechatcom_app' wechatcom_corp_id: '***' wechatcomapp_token: '**' wechatcomapp_secret: '***-trvXmb1AngEEcs' wechatcomapp_agent_id: '1000022' wechatcomapp_aes_key: '***' wechatcomapp_port: 9898 ports: - "9898:9898"
实测机器人反馈的内容,无think内容只有回话
deepseek 深度思考 在企业微信部署的情况下,无think内容显示
2025-02-07 17:12:08 [INFO][2025-02-07 09:12:08][chat_gpt_bot.py:57] - [CHATGPT] query=你好 2025-02-07 17:12:08 172.18.0.1:46066 - - [07/Feb/2025 09:12:08] "HTTP/1.1 POST /wxcomapp" - 200 OK 2025-02-07 17:12:11 [WARNING][2025-02-07 09:12:11][chat_gpt_session.py:86] - num_tokens_from_messages() is not implemented for model deepseek-reasoner. Returning num tokens assuming gpt-3.5-turbo. 2025-02-07 17:12:26 [WARNING][2025-02-07 09:12:26][chat_gpt_session.py:86] - num_tokens_from_messages() is not implemented for model deepseek-reasoner. Returning num tokens assuming gpt-3.5-turbo. 2025-02-07 17:12:27 [INFO][2025-02-07 09:12:27][wechatcomapp_channel.py:63] - [wechatcom] Do send text to zouc: 你好!很高兴见到你,有什么我可以帮忙的吗?无论是问题、建议还是闲聊,我都在这里为你服务。😊 2025-02-07 17:12:44 [INFO][2025-02-07 09:12:44][wechatcomapp_channel.py:153] - [wechatcom] receive params: <Storage {'timestamp': '1738919560', 'nonce': '1738674327', 'msg_signature': '7ea31f34723283aab780ae61088e6225debf5a9e'}> 2025-02-07 17:12:44 172.18.0.1:35730 - - [07/Feb/2025 09:12:44] "HTTP/1.1 POST /wxcomapp" - 200 OK 2025-02-07 17:12:44 [INFO][2025-02-07 09:12:44][chat_gpt_bot.py:57] - [CHATGPT] query=给我讲个最简单的魔术 2025-02-07 17:12:44 [WARNING][2025-02-07 09:12:44][chat_gpt_session.py:86] - num_tokens_from_messages() is not implemented for model deepseek-reasoner. Returning num tokens assuming gpt-3.5-turbo. 2025-02-07 17:13:44 [WARNING][2025-02-07 09:13:44][chat_gpt_bot.py:153] - [CHATGPT] Bad Gateway: HTTP code 200 from API () 2025-02-07 17:13:54 [WARNING][2025-02-07 09:13:54][chat_gpt_bot.py:168] - [CHATGPT] 第1次重试 2025-02-07 17:14:54 [WARNING][2025-02-07 09:14:54][chat_gpt_bot.py:153] - [CHATGPT] Bad Gateway: HTTP code 200 from API () 2025-02-07 17:15:04 [WARNING][2025-02-07 09:15:04][chat_gpt_bot.py:168] - [CHATGPT] 第2次重试 2025-02-07 17:16:04 [WARNING][2025-02-07 09:16:04][chat_gpt_bot.py:153] - [CHATGPT] Bad Gateway: HTTP code 200 from API () 2025-02-07 17:16:05 [INFO][2025-02-07 09:16:05][wechatcomapp_channel.py:63] - [wechatcom] Do send text to zouc: [ERROR] 2025-02-07 17:16:05 请再问我一次
The text was updated successfully, but these errors were encountered:
经过我的测试这个也和api供应商相关,我测试了腾讯云、硅基流动、deepseek官网、百度云,最后只有百度云有think标签
Sorry, something went wrong.
估计要改原始项目代码了,我看官方api文档,用到不是一个字段。from openai import OpenAI client = OpenAI(api_key="", base_url="https://api.deepseek.com")
messages = [{"role": "user", "content": "9.11 and 9.8, which is greater?"}] response = client.chat.completions.create( model="deepseek-reasoner", messages=messages )
reasoning_content = response.choices[0].message.reasoning_content content = response.choices[0].message.content
等项目后续适配一下
No branches or pull requests
前置确认
操作系统类型?
Windows
运行的python版本是?
python 3.7
使用的chatgpt-on-wechat版本是?
Latest Release
运行的
channel
类型是?wxy(个人微信, wechaty)
复现步骤 🕹
在 docker部署完成后,使用下面的yml
实测机器人反馈的内容,无think内容只有回话
问题描述 😯
deepseek 深度思考 在企业微信部署的情况下,无think内容显示
终端日志 📒
The text was updated successfully, but these errors were encountered: