feat(eventPipeline): let AI summary node reuse a centralized LLM config#2169
feat(eventPipeline): let AI summary node reuse a centralized LLM config#2169cencaogao wants to merge 1 commit into
Conversation
Add a 'Reuse LLM Config' select to the AI summary processor form. Picking a configured LLM (from /api/n9e/ai-llm-configs) hides and clears the inline url/api_key/model_name fields and drops their required rules, so the node can be saved with just llm_config_id. Leaving it empty keeps the existing inline manual configuration. Uses the absolute form path (prefixNamePath + namePath) for Form.useWatch, matching the existing Relabel processor, so the watch works inside Form.List. Backend: ccfos/nightingale#3199 Signed-off-by: cencaogao <cencaogao@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughAdds support for selecting a centralized, reusable LLM configuration in the AISummary event pipeline processor. Includes a new llm_config_id select field, conditional hiding/required logic for inline url/api_key/model_name fields, prefixNamePath wiring from the parent form, and new English/Chinese locale strings. ChangesCentralized LLM Config Selection in AISummary
Estimated code review effort: 2 (Simple) | ~12 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add a 'Reuse LLM Config' select to the AI summary processor form. Picking a configured LLM (from /api/n9e/ai-llm-configs) hides and clears the inline url/api_key/model_name fields and drops their required rules, so the node can be saved with just llm_config_id. Leaving it empty keeps the existing inline manual configuration.
Uses the absolute form path (prefixNamePath + namePath) for Form.useWatch, matching the existing Relabel processor, so the watch works inside Form.List.
Backend: ccfos/nightingale#3199
Summary by CodeRabbit
New Features
Bug Fixes