-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Feat: support bedrock endpoint configuration with env variable #6215
base: main
Are you sure you want to change the base?
Feat: support bedrock endpoint configuration with env variable #6215
Conversation
support bedrock endpoint configuration by environment variable
@oliviamn is attempting to deploy a commit to the LobeHub Team on Vercel. A member of the Team first needs to authorize it. |
๐ @oliviamn Thank you for raising your pull request and contributing to our Community |
}; | ||
|
||
if (endpoint) { | ||
console.log('endpoint', endpoint); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove log
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the comment, the log has been removed
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6215 +/- ##
==========================================
- Coverage 91.34% 91.34% -0.01%
==========================================
Files 728 728
Lines 68362 68387 +25
Branches 4597 3304 -1293
==========================================
+ Hits 62448 62470 +22
- Misses 5914 5917 +3
Flags with carried forward coverage won't be shown. Click here to find out more. โ View full report in Codecov by Sentry. ๐ New features to boost your workflow:
|
remove console log
โฆ/github.com/oliviamn/lobe-chat into feat-support-bedrock-endpoint-configuration
๐ป ๅๆด็ฑปๅ | Change Type
๐ ๅๆด่ฏดๆ | Description of Change
๐ ่กฅๅ ไฟกๆฏ | Additional Information
add environment variable: AWS_ENDPOINT_URL_BEDROCK_RUNTIME to support bedrock proxy
it resolves the issue(feat request):#4815
user can set environment variable after following the project: https://github.com/jief123/bedrockproxy/blob/main/howto.md
AWS_ENDPOINT_URL_BEDROCK_RUNTIME="https://xxx.cloudfront.net"