♻️ refactor: remove DefaultAgentForm UI from settings pages#13342
♻️ refactor: remove DefaultAgentForm UI from settings pages#13342
Conversation
Remove the user-facing Default Agent configuration form from both the agent settings page and the service-model settings page. The underlying store action and selectors are preserved for programmatic use (e.g. onboarding). Fixes LOBE-1125 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@ONLY-yours - This is a settings refactor (removing DefaultAgentForm from settings pages). Please take a look. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## canary #13342 +/- ##
==========================================
+ Coverage 66.84% 66.85% +0.01%
==========================================
Files 1891 1890 -1
Lines 151669 151613 -56
Branches 14572 15275 +703
==========================================
- Hits 101376 101363 -13
+ Misses 50173 50130 -43
Partials 120 120
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
❤️ 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. |
…13342) 🔥 refactor: remove DefaultAgentForm UI from settings pages Remove the user-facing Default Agent configuration form from both the agent settings page and the service-model settings page. The underlying store action and selectors are preserved for programmatic use (e.g. onboarding). Fixes LOBE-1125 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
💻 Change Type
🔗 Related Issue
Fixes LOBE-1125
🔀 Description of Change
Remove the user-facing Default Agent configuration form from both the agent settings page and the service-model settings page. The underlying store action (
updateDefaultAgent) and selectors are preserved for programmatic use (e.g. onboarding flow).Changes:
DefaultAgentForm.tsxcomponent<DefaultAgentForm />fromsettings/agent/index.tsx<DefaultAgentForm />fromsettings/service-model/index.tsx🧪 How to Test
updateDefaultAgentprogrammatically)