@@ -706,6 +706,22 @@ public function createComponent($properties, $service)
706
706
'description ' => 'The estimated token count to retain after trimming. ' ,
707
707
'valueType ' => 'string '
708
708
],
709
+ 'max_count ' => [
710
+ 'editor_type ' => 'text ' ,
711
+ 'editor_properties ' => [],
712
+ 'defaultValue ' => '${20} ' ,
713
+ 'name ' => 'Max messages to keep (Deprecated) ' ,
714
+ 'description ' => 'The maximum number of messages before the conversation is summarized. Use max token count instead. ' ,
715
+ 'valueType ' => 'string '
716
+ ],
717
+ 'truncate_to ' => [
718
+ 'editor_type ' => 'text ' ,
719
+ 'editor_properties ' => [],
720
+ 'defaultValue ' => '${10} ' ,
721
+ 'name ' => 'Truncate message count (Deprecated) ' ,
722
+ 'description ' => 'The number of messages to keep after summarization. Use truncate to tokens instead. ' ,
723
+ 'valueType ' => 'string '
724
+ ],
709
725
'api_key ' => $ API_KEY ,
710
726
'base_url ' => $ BASE_URL ,
711
727
'apiOptions ' => [
@@ -803,6 +819,22 @@ public function createComponent($properties, $service)
803
819
'description ' => 'The estimated token count to retain after trimming. ' ,
804
820
'valueType ' => 'string '
805
821
],
822
+ 'max_count ' => [
823
+ 'editor_type ' => 'text ' ,
824
+ 'editor_properties ' => [],
825
+ 'defaultValue ' => '${20} ' ,
826
+ 'name ' => 'Max messages to keep (Deprecated) ' ,
827
+ 'description ' => 'The maximum number of messages before the conversation is summarized. Use max token count instead. ' ,
828
+ 'valueType ' => 'string '
829
+ ],
830
+ 'truncate_to ' => [
831
+ 'editor_type ' => 'text ' ,
832
+ 'editor_properties ' => [],
833
+ 'defaultValue ' => '${10} ' ,
834
+ 'name ' => 'Truncate message count (Deprecated) ' ,
835
+ 'description ' => 'The number of messages to keep after summarization. Use truncate to tokens instead. ' ,
836
+ 'valueType ' => 'string '
837
+ ],
806
838
'result_var ' => [
807
839
'editor_type ' => 'text ' ,
808
840
'editor_properties ' => [],
0 commit comments