fix: add missing memories/messages properties to resolve 500 error on node click in Lamatic Studio#173
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughYour mission: examine three LLM nodes in the onboarding buddy flow that now carry enhanced configuration. The skill gap analyzer, plan generator, and welcome message drafter nodes are each updated to reference their corresponding model configurations via new ChangesLLM Node Configuration
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
/validate |
|
📡 Running Studio validation — results will appear here shortly. |
Studio Runtime Validation (Phase 2)✅ Studio validation passed. The kit loaded successfully in Lamatic Studio. This PR is ready for final review and merge. |
|
@akshatvirmani Please review my PR and merge it with main. |
|
/validate |
|
📡 Running Studio validation — results will appear here shortly. |
|
@coderabbitai resume |
✅ Action performedReviews resumed. |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
/validate |
|
📡 Running Studio validation — results will appear here shortly. |
PR Checklist
1. Select Contribution Type
templates/<template-name>/) Note: Followed the new flat repository structure underkits/ai-onboarding-buddy/per the updated CONTRIBUTING.md2. General Requirements
kebab-caseand matches the flow IDREADME.md(purpose, setup, usage)3. File Structure (Check what applies)
lamatic.config.tspresent with valid metadata (name, description, tags, steps, author, env keys)flows/,prompts/,model-configs/,constitutions/follow the extraction format.4. Validation
fix: resolve 500 error on node click in Lamatic Studio)Description
This is a follow-up fix for the newly merged
ai-onboarding-buddytemplate. TheLLMNodeconfigurations inflows/ai-onboarding-buddy.tswere missingmemoriesandmessagesreferences.This omission causes a 500 error in the Lamatic Studio dashboard UI when clicking to open or edit the node panels. This PR adds the missing references to ensure a seamless template import and editing experience from the Studio Hub.
Flow Overview
The AI Onboarding Buddy flow is a multi-step generative employee enablement agent that analyzes new hire skill gaps and constructs a tailored 30/60/90-day onboarding plan with personalized welcome messages.
Node Types Introduced
How It Works
PR Changes
Modified File:
kits/ai-onboarding-buddy/flows/ai-onboarding-buddy.tsThe fix adds missing
memoriesandmessagesconfiguration properties to the three LLMNode nodes:@model-configs/gap-analyzer.tsfor both memories and messages@model-configs/plan-generator.tsfor both memories and messages@model-configs/welcome-drafter.tsfor both memories and messagesThese properties were required to prevent 500 errors when opening/editing node panels in the Lamatic Studio dashboard and to enable proper template import and editing from the Studio Hub.
Lines changed: +6/-0