🔨 chore(task): add generic updateTaskConfig for safe config merging#13502
Conversation
…ging Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Assigning reviewers based on changed files (database model, TRPC router, tool execution service): @Innei @nekomeowww Could you review this PR? It adds a generic |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## canary #13502 +/- ##
=========================================
Coverage 66.47% 66.47%
=========================================
Files 1975 1975
Lines 162211 162232 +21
Branches 15594 19360 +3766
=========================================
+ Hits 107829 107849 +20
- Misses 54262 54263 +1
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. |
Summary
updateTaskConfigmethod toTaskModelfor safely merge-updating the task config JSON (read → shallow merge → write)task.updateConfigTRPC procedure exposing the new generic methodupdateCheckpointConfig/updateReviewConfigto delegate toupdateTaskConfig, eliminating duplicated merge logicupdateTaskConfiginstead of manual config mergingFixes LOBE-6634
Test plan
updateConfigTRPC endpoint works via client🤖 Generated with Claude Code