File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export interface CallbackNode {
4848
4949export interface YamlConfig {
5050 name : string ;
51- model : string ;
51+ model ? : string ;
5252 agent_class : string ;
5353 description ?: string ;
5454 instruction ?: string ;
Original file line number Diff line number Diff line change @@ -118,9 +118,7 @@ export class AgentBuilderService implements AgentBuilderServiceInterface {
118118 }
119119
120120 setSelectedNode ( node : AgentNode | undefined ) {
121- // Create a shallow copy to ensure change detection triggers
122- const nodeCopy = node ? { ...node } : undefined ;
123- this . selectedNodeSubject . next ( nodeCopy ) ;
121+ this . selectedNodeSubject . next ( node ) ;
124122 }
125123
126124 getSelectedTool ( ) : Observable < ToolNode | undefined > {
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ export class YamlUtils {
5252 }
5353
5454 if ( agentNode . agent_class != "LlmAgent" ) {
55+ delete yamlConfig . model ;
5556 delete yamlConfig . instruction ;
5657 delete yamlConfig . tools ;
5758 }
You can’t perform that action at this time.
0 commit comments