Feature/skill individual consciousness 14792862208456568388 (#56)
* feat: Make skill individuals directly accessible to consciousness node - Added `available_skills` to `ConsciousnessNodeDeps` and `ForWorkflowEngineInput`. - Updated `WorkflowRunningEngine` to retrieve all available skills from `GlobalStateMachine` and pass them during `ForWorkflowEngineInput` creation. - Updated `ConsciousnessNode` to dynamically inject these skills into the system prompt. This allows the AI to correctly insert `skill_individuals` into `PretorWorkflow` steps (as tools for `composite_individual` or `primary_individual`). Co-authored-by: zhaoxi826 <198742034+zhaoxi826@users.noreply.github.com> * feat: Expose skill individuals to consciousness node & fix frontend tool parsing - Added `available_skills` to `ConsciousnessNodeDeps` and `ForWorkflowEngineInput`. - Updated `WorkflowRunningEngine` to retrieve all available skills from `GlobalStateMachine` and pass them into `ForWorkflowEngineInput`. - Updated `ConsciousnessNode` to dynamically inject these skills into the prompt, enabling AI to integrate `skill_individuals` into `PretorWorkflow` steps directly. - Fixed a frontend parsing bug in `WorkerIndividualSettings.tsx` where backend tool responses (an array of strings) were being incorrectly flattened, resulting in arrays of index numbers instead of actual tool names. Co-authored-by: zhaoxi826 <198742034+zhaoxi826@users.noreply.github.com> --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: zhaoxi826 <198742034+zhaoxi826@users.noreply.github.com>
This commit is contained in:
parent
e03ba31f5c
commit
73d28793ae