File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 37
37
"instruction" : {
38
38
"title" : " Instruction" ,
39
39
"type" : " string"
40
+ },
41
+ "disallow_transfer_to_parent" : {
42
+ "anyOf" : [
43
+ {
44
+ "type" : " boolean"
45
+ },
46
+ {
47
+ "type" : " null"
48
+ }
49
+ ],
50
+ "default" : null ,
51
+ "title" : " Disallow Transfer To Parent"
52
+ },
53
+ "disallow_transfer_to_peers" : {
54
+ "anyOf" : [
55
+ {
56
+ "type" : " boolean"
57
+ },
58
+ {
59
+ "type" : " null"
60
+ }
61
+ ],
62
+ "default" : null ,
63
+ "title" : " Disallow Transfer To Peers"
40
64
}
41
65
},
42
66
"required" : [
Original file line number Diff line number Diff line change @@ -532,6 +532,10 @@ def from_config(
532
532
agent .model = config .model
533
533
if config .instruction :
534
534
agent .instruction = config .instruction
535
+ if config .disallow_transfer_to_parent :
536
+ agent .disallow_transfer_to_parent = config .disallow_transfer_to_parent
537
+ if config .disallow_transfer_to_peers :
538
+ agent .disallow_transfer_to_peers = config .disallow_transfer_to_peers
535
539
return agent
536
540
537
541
@@ -551,3 +555,9 @@ class LlmAgentConfig(BaseAgentConfig):
551
555
552
556
instruction : str
553
557
"""Required. LlmAgent.instruction."""
558
+
559
+ disallow_transfer_to_parent : Optional [bool ] = None
560
+ """Optional. LlmAgent.disallow_transfer_to_parent."""
561
+
562
+ disallow_transfer_to_peers : Optional [bool ] = None
563
+ """Optional. LlmAgent.disallow_transfer_to_peers."""
You can’t perform that action at this time.
0 commit comments