-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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 bedrock show by default #2634
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
WalkthroughThe Changes
Tip New Features and ImprovementsReview SettingsIntroduced new personality profiles for code reviews. Users can now select between "Chill" and "Assertive" review tones to tailor feedback styles according to their preferences. The "Assertive" profile posts more comments and nitpicks the code more aggressively, while the "Chill" profile is more relaxed and posts fewer comments. AST-based InstructionsCodeRabbit offers customizing reviews based on the Abstract Syntax Tree (AST) pattern matching. Read more about AST-based instructions in the documentation. Community-driven AST-based RulesWe are kicking off a community-driven initiative to create and share AST-based rules. Users can now contribute their AST-based rules to detect security vulnerabilities, code smells, and anti-patterns. Please see the ast-grep-essentials repository for more information. New Static Analysis ToolsWe are continually expanding our support for static analysis tools. We have added support for Tone SettingsUsers can now customize CodeRabbit to review code in the style of their favorite characters or personalities. Here are some of our favorite examples:
Revamped Settings PageWe have redesigned the settings page for a more intuitive layout, enabling users to find and adjust settings quickly. This change was long overdue; it not only improves the user experience but also allows our development team to add more settings in the future with ease. Going forward, the changes to Miscellaneous
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2634 +/- ##
==========================================
- Coverage 93.67% 93.66% -0.01%
==========================================
Files 349 349
Lines 20402 20378 -24
Branches 2445 1563 -882
==========================================
- Hits 19112 19088 -24
Misses 1290 1290 ☔ View full report in Codecov by Sentry. |
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.
Actionable comments posted: 3
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- src/config/llm.ts (3 hunks)
Additional Context Used
Biome (1)
src/config/llm.ts (1)
125-125: Unexpected any. Specify a different type.
// region format: iad1,sfo1 | ||
let regions: string[] = []; | ||
if (process.env.OPENAI_FUNCTION_REGIONS) { | ||
regions = process.env.OPENAI_FUNCTION_REGIONS.split(','); | ||
} |
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.
Refactor the handling of regions to improve readability and robustness.
- let regions: string[] = [];
- if (process.env.OPENAI_FUNCTION_REGIONS) {
- regions = process.env.OPENAI_FUNCTION_REGIONS.split(',');
- }
+ const regions = process.env.OPENAI_FUNCTION_REGIONS ? process.env.OPENAI_FUNCTION_REGIONS.split(',') : [];
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
// region format: iad1,sfo1 | |
let regions: string[] = []; | |
if (process.env.OPENAI_FUNCTION_REGIONS) { | |
regions = process.env.OPENAI_FUNCTION_REGIONS.split(','); | |
} | |
// region format: iad1,sfo1 | |
const regions = process.env.OPENAI_FUNCTION_REGIONS ? process.env.OPENAI_FUNCTION_REGIONS.split(',') : []; |
src/config/llm.ts
Outdated
ENABLED_AZURE_OPENAI: !!process.env.AZURE_API_KEY, | ||
AZURE_API_KEY: process.env.AZURE_API_KEY, | ||
AZURE_API_VERSION: process.env.AZURE_API_VERSION, | ||
AZURE_ENDPOINT: process.env.AZURE_ENDPOINT, | ||
AZURE_MODEL_LIST: process.env.AZURE_MODEL_LIST, | ||
|
||
ENABLED_ZHIPU: !!ZHIPU_API_KEY, | ||
ZHIPU_API_KEY, | ||
ENABLED_ZHIPU: !!process.env.ZHIPU_API_KEY, | ||
ZHIPU_API_KEY: process.env.ZHIPU_API_KEY, | ||
|
||
ENABLED_DEEPSEEK: !!DEEPSEEK_API_KEY, | ||
DEEPSEEK_API_KEY, | ||
ENABLED_DEEPSEEK: !!process.env.DEEPSEEK_API_KEY, | ||
DEEPSEEK_API_KEY: process.env.DEEPSEEK_API_KEY, | ||
|
||
ENABLED_GOOGLE: !!GOOGLE_API_KEY, | ||
GOOGLE_API_KEY, | ||
ENABLED_GOOGLE: !!process.env.GOOGLE_API_KEY, | ||
GOOGLE_API_KEY: process.env.GOOGLE_API_KEY, | ||
GOOGLE_PROXY_URL: process.env.GOOGLE_PROXY_URL, | ||
|
||
ENABLED_PERPLEXITY: !!PERPLEXITY_API_KEY, | ||
PERPLEXITY_API_KEY, | ||
ENABLED_PERPLEXITY: !!process.env.PERPLEXITY_API_KEY, | ||
PERPLEXITY_API_KEY: process.env.PERPLEXITY_API_KEY, | ||
PERPLEXITY_PROXY_URL: process.env.PERPLEXITY_PROXY_URL, | ||
|
||
ENABLED_ANTHROPIC: !!ANTHROPIC_API_KEY, | ||
ANTHROPIC_API_KEY, | ||
ENABLED_ANTHROPIC: !!process.env.ANTHROPIC_API_KEY, | ||
ANTHROPIC_API_KEY: process.env.ANTHROPIC_API_KEY, | ||
ANTHROPIC_PROXY_URL: process.env.ANTHROPIC_PROXY_URL, | ||
|
||
ENABLED_MINIMAX: !!MINIMAX_API_KEY, | ||
MINIMAX_API_KEY, | ||
ENABLED_MINIMAX: !!process.env.MINIMAX_API_KEY, | ||
MINIMAX_API_KEY: process.env.MINIMAX_API_KEY, | ||
|
||
ENABLED_MISTRAL: !!MISTRAL_API_KEY, | ||
MISTRAL_API_KEY, | ||
ENABLED_MISTRAL: !!process.env.MISTRAL_API_KEY, | ||
MISTRAL_API_KEY: process.env.MISTRAL_API_KEY, | ||
|
||
ENABLED_OPENROUTER: !!OPENROUTER_API_KEY, | ||
OPENROUTER_API_KEY, | ||
ENABLED_OPENROUTER: !!process.env.OPENROUTER_API_KEY, | ||
OPENROUTER_API_KEY: process.env.OPENROUTER_API_KEY, | ||
OPENROUTER_MODEL_LIST: | ||
process.env.OPENROUTER_MODEL_LIST || process.env.OPENROUTER_CUSTOM_MODELS, | ||
|
||
ENABLED_TOGETHERAI: !!TOGETHERAI_API_KEY, | ||
TOGETHERAI_API_KEY, | ||
ENABLED_TOGETHERAI: !!process.env.TOGETHERAI_API_KEY, | ||
TOGETHERAI_API_KEY: process.env.TOGETHERAI_API_KEY, | ||
TOGETHERAI_MODEL_LIST: process.env.TOGETHERAI_MODEL_LIST, | ||
|
||
ENABLED_MOONSHOT: !!MOONSHOT_API_KEY, | ||
MOONSHOT_API_KEY, | ||
ENABLED_MOONSHOT: !!process.env.MOONSHOT_API_KEY, | ||
MOONSHOT_API_KEY: process.env.MOONSHOT_API_KEY, | ||
MOONSHOT_PROXY_URL: process.env.MOONSHOT_PROXY_URL, | ||
|
||
ENABLED_GROQ: !!GROQ_API_KEY, | ||
ENABLED_GROQ: !!process.env.GROQ_API_KEY, | ||
GROQ_API_KEY: process.env.GROQ_API_KEY, | ||
GROQ_PROXY_URL: process.env.GROQ_PROXY_URL, | ||
GROQ_API_KEY, | ||
|
||
ENABLED_ZEROONE: !!ZEROONE_API_KEY, | ||
ZEROONE_API_KEY, | ||
ENABLED_ZEROONE: !!process.env.ZEROONE_API_KEY, | ||
ZEROONE_API_KEY: process.env.ZEROONE_API_KEY, | ||
|
||
ENABLED_AWS_BEDROCK: !!AWS_ACCESS_KEY_ID, | ||
ENABLED_AWS_BEDROCK: !!process.env.AWS_ACCESS_KEY_ID, | ||
AWS_REGION: process.env.AWS_REGION, | ||
AWS_ACCESS_KEY_ID: AWS_ACCESS_KEY_ID, | ||
AWS_SECRET_ACCESS_KEY: process.env.AWS_SECRET_ACCESS_KEY || '', | ||
AWS_ACCESS_KEY_ID: process.env.AWS_ACCESS_KEY_ID, | ||
AWS_SECRET_ACCESS_KEY: process.env.AWS_SECRET_ACCESS_KEY, |
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.
Ensure consistent handling of boolean environment variables.
- ENABLED_AZURE_OPENAI: !!process.env.AZURE_API_KEY,
+ ENABLED_AZURE_OPENAI: process.env.AZURE_API_KEY !== '0',
- ENABLED_ZHIPU: !!process.env.ZHIPU_API_KEY,
+ ENABLED_ZHIPU: process.env.ZHIPU_API_KEY !== '0',
- ENABLED_DEEPSEEK: !!process.env.DEEPSEEK_API_KEY,
+ ENABLED_DEEPSEEK: process.env.DEEPSEEK_API_KEY !== '0',
- ENABLED_GOOGLE: !!process.env.GOOGLE_API_KEY,
+ ENABLED_GOOGLE: process.env.GOOGLE_API_KEY !== '0',
- ENABLED_PERPLEXITY: !!process.env.PERPLEXITY_API_KEY,
+ ENABLED_PERPLEXITY: process.env.PERPLEXITY_API_KEY !== '0',
- ENABLED_ANTHROPIC: !!process.env.ANTHROPIC_API_KEY,
+ ENABLED_ANTHROPIC: process.env.ANTHROPIC_API_KEY !== '0',
- ENABLED_MINIMAX: !!process.env.MINIMAX_API_KEY,
+ ENABLED_MINIMAX: process.env.MINIMAX_API_KEY !== '0',
- ENABLED_MISTRAL: !!process.env.MISTRAL_API_KEY,
+ ENABLED_MISTRAL: process.env.MISTRAL_API_KEY !== '0',
- ENABLED_OPENROUTER: !!process.env.OPENROUTER_API_KEY,
+ ENABLED_OPENROUTER: process.env.OPENROUTER_API_KEY !== '0',
- ENABLED_TOGETHERAI: !!process.env.TOGETHERAI_API_KEY,
+ ENABLED_TOGETHERAI: process.env.TOGETHERAI_API_KEY !== '0',
- ENABLED_MOONSHOT: !!process.env.MOONSHOT_API_KEY,
+ ENABLED_MOONSHOT: process.env.MOONSHOT_API_KEY !== '0',
- ENABLED_GROQ: !!process.env.GROQ_API_KEY,
+ ENABLED_GROQ: process.env.GROQ_API_KEY !== '0',
- ENABLED_ZEROONE: !!process.env.ZEROONE_API_KEY,
+ ENABLED_ZEROONE: process.env.ZEROONE_API_KEY !== '0',
- ENABLED_AWS_BEDROCK: !!process.env.AWS_ACCESS_KEY_ID,
+ ENABLED_AWS_BEDROCK: process.env.AWS_ACCESS_KEY_ID !== '0',
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
ENABLED_AZURE_OPENAI: !!process.env.AZURE_API_KEY, | |
AZURE_API_KEY: process.env.AZURE_API_KEY, | |
AZURE_API_VERSION: process.env.AZURE_API_VERSION, | |
AZURE_ENDPOINT: process.env.AZURE_ENDPOINT, | |
AZURE_MODEL_LIST: process.env.AZURE_MODEL_LIST, | |
ENABLED_ZHIPU: !!ZHIPU_API_KEY, | |
ZHIPU_API_KEY, | |
ENABLED_ZHIPU: !!process.env.ZHIPU_API_KEY, | |
ZHIPU_API_KEY: process.env.ZHIPU_API_KEY, | |
ENABLED_DEEPSEEK: !!DEEPSEEK_API_KEY, | |
DEEPSEEK_API_KEY, | |
ENABLED_DEEPSEEK: !!process.env.DEEPSEEK_API_KEY, | |
DEEPSEEK_API_KEY: process.env.DEEPSEEK_API_KEY, | |
ENABLED_GOOGLE: !!GOOGLE_API_KEY, | |
GOOGLE_API_KEY, | |
ENABLED_GOOGLE: !!process.env.GOOGLE_API_KEY, | |
GOOGLE_API_KEY: process.env.GOOGLE_API_KEY, | |
GOOGLE_PROXY_URL: process.env.GOOGLE_PROXY_URL, | |
ENABLED_PERPLEXITY: !!PERPLEXITY_API_KEY, | |
PERPLEXITY_API_KEY, | |
ENABLED_PERPLEXITY: !!process.env.PERPLEXITY_API_KEY, | |
PERPLEXITY_API_KEY: process.env.PERPLEXITY_API_KEY, | |
PERPLEXITY_PROXY_URL: process.env.PERPLEXITY_PROXY_URL, | |
ENABLED_ANTHROPIC: !!ANTHROPIC_API_KEY, | |
ANTHROPIC_API_KEY, | |
ENABLED_ANTHROPIC: !!process.env.ANTHROPIC_API_KEY, | |
ANTHROPIC_API_KEY: process.env.ANTHROPIC_API_KEY, | |
ANTHROPIC_PROXY_URL: process.env.ANTHROPIC_PROXY_URL, | |
ENABLED_MINIMAX: !!MINIMAX_API_KEY, | |
MINIMAX_API_KEY, | |
ENABLED_MINIMAX: !!process.env.MINIMAX_API_KEY, | |
MINIMAX_API_KEY: process.env.MINIMAX_API_KEY, | |
ENABLED_MISTRAL: !!MISTRAL_API_KEY, | |
MISTRAL_API_KEY, | |
ENABLED_MISTRAL: !!process.env.MISTRAL_API_KEY, | |
MISTRAL_API_KEY: process.env.MISTRAL_API_KEY, | |
ENABLED_OPENROUTER: !!OPENROUTER_API_KEY, | |
OPENROUTER_API_KEY, | |
ENABLED_OPENROUTER: !!process.env.OPENROUTER_API_KEY, | |
OPENROUTER_API_KEY: process.env.OPENROUTER_API_KEY, | |
OPENROUTER_MODEL_LIST: | |
process.env.OPENROUTER_MODEL_LIST || process.env.OPENROUTER_CUSTOM_MODELS, | |
ENABLED_TOGETHERAI: !!TOGETHERAI_API_KEY, | |
TOGETHERAI_API_KEY, | |
ENABLED_TOGETHERAI: !!process.env.TOGETHERAI_API_KEY, | |
TOGETHERAI_API_KEY: process.env.TOGETHERAI_API_KEY, | |
TOGETHERAI_MODEL_LIST: process.env.TOGETHERAI_MODEL_LIST, | |
ENABLED_MOONSHOT: !!MOONSHOT_API_KEY, | |
MOONSHOT_API_KEY, | |
ENABLED_MOONSHOT: !!process.env.MOONSHOT_API_KEY, | |
MOONSHOT_API_KEY: process.env.MOONSHOT_API_KEY, | |
MOONSHOT_PROXY_URL: process.env.MOONSHOT_PROXY_URL, | |
ENABLED_GROQ: !!GROQ_API_KEY, | |
ENABLED_GROQ: !!process.env.GROQ_API_KEY, | |
GROQ_API_KEY: process.env.GROQ_API_KEY, | |
GROQ_PROXY_URL: process.env.GROQ_PROXY_URL, | |
GROQ_API_KEY, | |
ENABLED_ZEROONE: !!ZEROONE_API_KEY, | |
ZEROONE_API_KEY, | |
ENABLED_ZEROONE: !!process.env.ZEROONE_API_KEY, | |
ZEROONE_API_KEY: process.env.ZEROONE_API_KEY, | |
ENABLED_AWS_BEDROCK: !!AWS_ACCESS_KEY_ID, | |
ENABLED_AWS_BEDROCK: !!process.env.AWS_ACCESS_KEY_ID, | |
AWS_REGION: process.env.AWS_REGION, | |
AWS_ACCESS_KEY_ID: AWS_ACCESS_KEY_ID, | |
AWS_SECRET_ACCESS_KEY: process.env.AWS_SECRET_ACCESS_KEY || '', | |
AWS_ACCESS_KEY_ID: process.env.AWS_ACCESS_KEY_ID, | |
AWS_SECRET_ACCESS_KEY: process.env.AWS_SECRET_ACCESS_KEY, | |
ENABLED_AZURE_OPENAI: process.env.AZURE_API_KEY !== '0', | |
AZURE_API_KEY: process.env.AZURE_API_KEY, | |
AZURE_API_VERSION: process.env.AZURE_API_VERSION, | |
AZURE_ENDPOINT: process.env.AZURE_ENDPOINT, | |
AZURE_MODEL_LIST: process.env.AZURE_MODEL_LIST, | |
ENABLED_ZHIPU: process.env.ZHIPU_API_KEY !== '0', | |
ZHIPU_API_KEY: process.env.ZHIPU_API_KEY, | |
ENABLED_DEEPSEEK: process.env.DEEPSEEK_API_KEY !== '0', | |
DEEPSEEK_API_KEY: process.env.DEEPSEEK_API_KEY, | |
ENABLED_GOOGLE: process.env.GOOGLE_API_KEY !== '0', | |
GOOGLE_API_KEY: process.env.GOOGLE_API_KEY, | |
GOOGLE_PROXY_URL: process.env.GOOGLE_PROXY_URL, | |
ENABLED_PERPLEXITY: process.env.PERPLEXITY_API_KEY !== '0', | |
PERPLEXITY_API_KEY: process.env.PERPLEXITY_API_KEY, | |
PERPLEXITY_PROXY_URL: process.env.PERPLEXITY_PROXY_URL, | |
ENABLED_ANTHROPIC: process.env.ANTHROPIC_API_KEY !== '0', | |
ANTHROPIC_API_KEY: process.env.ANTHROPIC_API_KEY, | |
ANTHROPIC_PROXY_URL: process.env.ANTHROPIC_PROXY_URL, | |
ENABLED_MINIMAX: process.env.MINIMAX_API_KEY !== '0', | |
MINIMAX_API_KEY: process.env.MINIMAX_API_KEY, | |
ENABLED_MISTRAL: process.env.MISTRAL_API_KEY !== '0', | |
MISTRAL_API_KEY: process.env.MISTRAL_API_KEY, | |
ENABLED_OPENROUTER: process.env.OPENROUTER_API_KEY !== '0', | |
OPENROUTER_API_KEY: process.env.OPENROUTER_API_KEY, | |
OPENROUTER_MODEL_LIST: | |
process.env.OPENROUTER_MODEL_LIST || process.env.OPENROUTER_CUSTOM_MODELS, | |
ENABLED_TOGETHERAI: process.env.TOGETHERAI_API_KEY !== '0', | |
TOGETHERAI_API_KEY: process.env.TOGETHERAI_API_KEY, | |
TOGETHERAI_MODEL_LIST: process.env.TOGETHERAI_MODEL_LIST, | |
ENABLED_MOONSHOT: process.env.MOONSHOT_API_KEY !== '0', | |
MOONSHOT_API_KEY: process.env.MOONSHOT_API_KEY, | |
MOONSHOT_PROXY_URL: process.env.MOONSHOT_PROXY_URL, | |
ENABLED_GROQ: process.env.GROQ_API_KEY !== '0', | |
GROQ_API_KEY: process.env.GROQ_API_KEY, | |
GROQ_PROXY_URL: process.env.GROQ_PROXY_URL, | |
ENABLED_ZEROONE: process.env.ZEROONE_API_KEY !== '0', | |
ZEROONE_API_KEY: process.env.ZEROONE_API_KEY, | |
ENABLED_AWS_BEDROCK: process.env.AWS_ACCESS_KEY_ID !== '0', | |
AWS_REGION: process.env.AWS_REGION, | |
AWS_ACCESS_KEY_ID: process.env.AWS_ACCESS_KEY_ID, | |
AWS_SECRET_ACCESS_KEY: process.env.AWS_SECRET_ACCESS_KEY, |
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.
Actionable comments posted: 1
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- src/config/llm.ts (3 hunks)
Additional Context Used
Biome (1)
src/config/llm.ts (1)
127-127: Unexpected any. Specify a different type.
Additional comments not posted (2)
src/config/llm.ts (2)
44-48
: Refactor the handling of regions to improve readability and robustness.
129-182
: Ensure consistent handling of boolean environment variables.
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.
Actionable comments posted: 1
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- docs/self-hosting/environment-variables/model-provider.mdx (1 hunks)
- docs/self-hosting/environment-variables/model-provider.zh-CN.mdx (1 hunks)
- src/config/llm.ts (3 hunks)
Files skipped from review due to trivial changes (1)
- docs/self-hosting/environment-variables/model-provider.mdx
Additional Context Used
Biome (1)
src/config/llm.ts (1)
129-129: Unexpected any. Specify a different type.
Additional comments not posted (6)
docs/self-hosting/environment-variables/model-provider.zh-CN.mdx (1)
133-139
: The documentation forENABLED_AWS_BEDROCK
is clear and follows the existing format. Good job on maintaining consistency with other entries.src/config/llm.ts (5)
44-48
: Refactor the handling of regions to improve readability and robustness.
131-184
: Ensure consistent handling of boolean environment variables.
129-129
: Specify a more appropriate type forregions
.
44-48
: The refactoring of the region handling is a good improvement. It simplifies the code and makes it more robust.
131-184
: The handling of boolean environment variables has been improved to check explicitly against '0'. This is a more reliable method than the previous truthy/falsy check and prevents unintended behavior.
@@ -152,60 +128,60 @@ export const getLLMConfig = () => { | |||
OPENAI_MODEL_LIST: process.env.OPENAI_MODEL_LIST || process.env.CUSTOM_MODELS, | |||
OPENAI_FUNCTION_REGIONS: regions as any, |
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.
The type for regions
should be more specific than any
. Consider using string[]
to ensure type safety.
- OPENAI_FUNCTION_REGIONS: regions as any,
+ OPENAI_FUNCTION_REGIONS: regions as string[],
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
OPENAI_FUNCTION_REGIONS: regions as any, | |
OPENAI_FUNCTION_REGIONS: regions as string[], |
❤️ Great PR @arvinxx ❤️ 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 0.161.16](v0.161.15...v0.161.16) <sup>Released on **2024-05-25**</sup> #### 🐛 Bug Fixes - **misc**: Fix bedrock show by default on vercel. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix bedrock show by default on vercel, closes [#2634](#2634) ([7ad3af2](7ad3af2)) </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 0.161.16 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.41.9](v1.41.8...v1.41.9) <sup>Released on **2024-05-25**</sup> #### ♻ Code Refactoring - **misc**: Migrate some agent config to `chatConfig`. #### 🐛 Bug Fixes - **misc**: Fix bedrock show by default on vercel. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Migrate some agent config to `chatConfig`, closes [lobehub#2646](https://github.com/bentwnghk/lobe-chat/issues/2646) ([2f311dc](2f311dc)) #### What's fixed * **misc**: Fix bedrock show by default on vercel, closes [lobehub#2634](https://github.com/bentwnghk/lobe-chat/issues/2634) ([7ad3af2](7ad3af2)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
* 🐛 fix: fix bedrock show by default * try to log aws key * try to log aws key * 🐛 fix: hide Bedrock by default
### [Version 0.161.16](lobehub/lobe-chat@v0.161.15...v0.161.16) <sup>Released on **2024-05-25**</sup> #### 🐛 Bug Fixes - **misc**: Fix bedrock show by default on vercel. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix bedrock show by default on vercel, closes [lobehub#2634](lobehub#2634) ([7ad3af2](lobehub@7ad3af2)) </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
Summary by CodeRabbit
CUSTOM_MODELS
.