-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
🐛 fix: fix tencent cloud api issue #6058
Conversation
@hedeqiang is attempting to deploy a commit to the LobeHub Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for raising your pull request and contributing to our Community |
害,重复了... |
Harm, repeated... |
@hedeqiang 没事,你写的比我好。我把我的关了 |
@hedeqiang It's okay, you wrote better than me. I've shut down mine |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6058 +/- ##
==========================================
- Coverage 92.19% 92.18% -0.01%
==========================================
Files 659 659
Lines 59757 59771 +14
Branches 4127 4326 +199
==========================================
+ Hits 55091 55100 +9
- Misses 4666 4671 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
❤️ Great PR @hedeqiang ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 1.53.3](v1.53.2...v1.53.3) <sup>Released on **2025-02-12**</sup> #### 🐛 Bug Fixes - **misc**: Fix tencent cloud api issue. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix tencent cloud api issue, closes [#6058](#6058) ([025d0bc](025d0bc)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 1.53.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.95.2](v1.95.1...v1.95.2) <sup>Released on **2025-02-13**</sup> #### 🐛 Bug Fixes - **misc**: Fix ai model abilities issue, fix latex in thinking tag render, fix not enable models correctly, fix tencent cloud api issue. #### 💄 Styles - **misc**: Update model list. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix ai model abilities issue, closes [lobehub#6060](https://github.com/bentwnghk/lobe-chat/issues/6060) ([718f477](718f477)) * **misc**: Fix latex in thinking tag render, closes [lobehub#6063](https://github.com/bentwnghk/lobe-chat/issues/6063) ([7e89b2d](7e89b2d)) * **misc**: Fix not enable models correctly, closes [lobehub#6071](https://github.com/bentwnghk/lobe-chat/issues/6071) ([b78328e](b78328e)) * **misc**: Fix tencent cloud api issue, closes [lobehub#6058](https://github.com/bentwnghk/lobe-chat/issues/6058) ([025d0bc](025d0bc)) #### Styles * **misc**: Update model list, closes [lobehub#6056](https://github.com/bentwnghk/lobe-chat/issues/6056) ([be0d7f6](be0d7f6)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
* fix: tencentcloud * fix: tencentcloud
### [Version 1.53.3](lobehub/lobe-chat@v1.53.2...v1.53.3) <sup>Released on **2025-02-12**</sup> #### 🐛 Bug Fixes - **misc**: Fix tencent cloud api issue. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix tencent cloud api issue, closes [lobehub#6058](lobehub#6058) ([025d0bc](lobehub@025d0bc)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
环境变量并没有真正使用, 只是声明在这里, 这个是否可以修复一下. @hedeqiang |
Environment variables are not really used, they just declare here, can this be fixed? @hedeqiang |
使用了的吧,我目前已经再用环境变量了,你是什么构建方式 |
I've used it, I've used environment variables now, what's your construction method |
你好, 我使用 Docker Compose 部署。这种情况两个环境变量似乎都没生效, 无论是否 指定 并且我还发现了另一个问题, 如果把 我使用的 lobe-chat 版本是 这是部署的配置 version: '3.9'
services:
lobe-chat:
image: lobehub/lobe-chat
user: root
container_name: lobe-chat
restart: always
ports:
- '3210:3210'
environment:
SSRF_ALLOW_PRIVATE_IP_ADDRESS: 1
ACCESS_CODE: xxxx
DEFAULT_AGENT_CONFIG: 'model=gpt-4o;params.max_tokens=30000;'
FEATURE_FLAGS: -openai_api_key,-openai_proxy_url,-check_updates,-webrtc_sync,-language_model_settings,-clerk_sign_up,-cloud_promotion
OPENAI_API_KEY: sk-proj-xx
ENABLED_OLLAMA: 0
ENABLED_AWS_BEDROCK: 1
AWS_ACCESS_KEY_ID: xx
AWS_SECRET_ACCESS_KEY: xx
AWS_REGION: us-west-2
QWEN_API_KEY: sk-xx
TENCENT_CLOUD_API_KEY: sk-xx
|
Hello, I'm using [Docker Compose Deployment](https://lobehub.com/zh/docs/self-hosting/platform/docker-compose#%E8%BF%90%E8%A1%8C-docker-compose- %E9%83%A8%E7%BD%B2%E6%8C%87%E4%BB%A4). In this case, neither environment variable seems to be effective, whether or not And I also found another problem. If the The version of lobe-chat I'm using is This is the deployment configuration version: '3.9'
services:
lobe-chat:
image: lobehub/lobe-chat
user: root
container_name: lobe-chat
restart: always
Ports:
- '3210:3210'
environment:
SSRF_ALLOW_PRIVATE_IP_ADDRESS: 1
ACCESS_CODE: xxxx
DEFAULT_AGENT_CONFIG: 'model=gpt-4o;params.max_tokens=30000;'
FEATURE_FLAGS: -openai_api_key,-openai_proxy_url,-check_updates,-webrtc_sync,-language_model_settings,-clerk_sign_up,-cloud_promotion
OPENAI_API_KEY: sk-proj-xx
ENABLED_OLLAMA: 0
ENABLED_AWS_BEDROCK: 1
AWS_ACCESS_KEY_ID: xx
AWS_SECRET_ACCESS_KEY: xx
AWS_REGION: us-west-2
QWEN_API_KEY: sk-xx
TENCENT_CLOUD_API_KEY: sk-xx
```
|
新起一个 issue 吧 |
A new issue |
* fix: tencentcloud * fix: tencentcloud
### [Version 1.53.3](lobehub/lobe-chat@v1.53.2...v1.53.3) <sup>Released on **2025-02-12**</sup> #### 🐛 Bug Fixes - **misc**: Fix tencent cloud api issue. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix tencent cloud api issue, closes [lobehub#6058](lobehub#6058) ([025d0bc](lobehub@025d0bc)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
修复腾讯云调用问题,补充环境变量
📝 补充信息 | Additional Information