Skip to content

Conversation

@arvinxx
Copy link
Member

@arvinxx arvinxx commented Nov 2, 2025

💻 Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • ✅ test
  • 📝 docs
  • 🔨 chore

🔗 Related Issue

🔀 Description of Change

🧪 How to Test

  • Tested locally
  • Added/updated tests
  • No tests needed

📸 Screenshots / Videos

Before After
... ...

📝 Additional Information

@vercel
Copy link

vercel bot commented Nov 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
lobehub Ready Ready Preview Comment Nov 3, 2025 2:04am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
lobehub-lite Ignored Ignored Preview Nov 3, 2025 2:04am

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @arvinxx, your pull request is larger than the review limit of 150000 diff characters

@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Nov 2, 2025
@lobehubbot
Copy link
Member

👍 @arvinxx

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.

@gru-agent
Copy link
Contributor

gru-agent bot commented Nov 2, 2025

There is too much information in the pull request to test.

@dosubot dosubot bot added the Model Provider Model provider related label Nov 2, 2025
@codecov
Copy link

codecov bot commented Nov 2, 2025

Codecov Report

❌ Patch coverage is 81.25000% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.70%. Comparing base (4363f7d) to head (7089c19).
⚠️ Report is 6 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next   #10001      +/-   ##
==========================================
- Coverage   83.55%   81.70%   -1.86%     
==========================================
  Files         895      886       -9     
  Lines       62694    55986    -6708     
  Branches     7757     8683     +926     
==========================================
- Hits        52387    45746    -6641     
+ Misses      10307    10240      -67     
Flag Coverage Δ
app 74.31% <81.25%> (-4.01%) ⬇️
database 98.35% <ø> (ø)
packages/agent-runtime 98.37% <ø> (ø)
packages/context-engine 93.79% <ø> (ø)
packages/electron-server-ipc 93.76% <ø> (ø)
packages/file-loaders 92.21% <ø> (ø)
packages/model-bank 100.00% <ø> (ø)
packages/model-runtime 92.19% <ø> (ø)
packages/prompts 77.29% <ø> (ø)
packages/python-interpreter 96.50% <ø> (ø)
packages/utils 94.39% <ø> (-0.12%) ⬇️
packages/web-crawler 96.81% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Store 73.46% <84.00%> (-0.49%) ⬇️
Services 55.98% <37.50%> (+<0.01%) ⬆️
Server 77.07% <ø> (-0.11%) ⬇️
Libs 35.97% <ø> (ø)
Utils 83.03% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 68 to 72
{showRegion ? (
<Select
onChange={(region) => {
setConfig('bedrock', { region });
setConfig('bedrock', { keyVaults: { region } });
}}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve existing Bedrock credentials when updating single field

Each Bedrock input calls updateAiProviderConfig with a keyVaults object containing only the changed property (accessKeyId, secretAccessKey, sessionToken, or region). The backend’s AiProviderModel.updateConfig replaces the entire stored keyVaults with the provided value rather than merging it, so typing in one field wipes any previously entered credentials. A user who enters access key and then secret key will end up persisting only the latter, making it impossible to save a complete Bedrock configuration. Consider reading the current vault values and sending a merged object (similar to useApiKey) before calling the update function.

Useful? React with 👍 / 👎.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

🚀 Desktop App Build Completed!

Version: 0.0.0-nightly.pr10001.8047
Build Time: 2025-11-03T06:41:26.743Z

📦 View All Build Artifacts

Build Artifacts

Platform File Size
macOS (Apple Silicon) LobeHub-Nightly-0.0.0-nightly.pr10001.8047-arm64.dmg 182.14 MB
macOS (Intel) LobeHub-Nightly-0.0.0-nightly.pr10001.8047-x64.dmg 188.59 MB
Windows LobeHub-Nightly-0.0.0-nightly.pr10001.8047-setup.exe 159.11 MB
Linux LobeHub-Nightly-0.0.0-nightly.pr10001.8047.AppImage 224.78 MB

Warning

Note: This is a temporary build for testing purposes only.

@arvinxx arvinxx merged commit 4ee4590 into next Nov 3, 2025
52 of 53 checks passed
@arvinxx arvinxx deleted the refactor/remove-deperated-code branch November 3, 2025 05:14
@lobehubbot
Copy link
Member

❤️ 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.

lobehubbot pushed a commit that referenced this pull request Nov 3, 2025
## [Version&nbsp;2.0.0-next.16](v2.0.0-next.15...v2.0.0-next.16)
<sup>Released on **2025-11-03**</sup>

#### ♻ Code Refactoring

- **misc**: Remove deperated code.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Remove deperated code, closes [#10001](#10001) ([4ee4590](4ee4590))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 2.0.0-next.16 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Model Provider Model provider related released on @next size:XXL This PR changes 1000+ lines, ignoring generated files. trigger:build-desktop Trigger Desktop build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants