@@ -706,6 +706,22 @@ public function createComponent($properties, $service)
706706 'description ' => 'The estimated token count to retain after trimming. ' ,
707707 'valueType ' => 'string '
708708 ],
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+ ],
709725 'api_key ' => $ API_KEY ,
710726 'base_url ' => $ BASE_URL ,
711727 'apiOptions ' => [
@@ -803,6 +819,22 @@ public function createComponent($properties, $service)
803819 'description ' => 'The estimated token count to retain after trimming. ' ,
804820 'valueType ' => 'string '
805821 ],
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+ ],
806838 'result_var ' => [
807839 'editor_type ' => 'text ' ,
808840 'editor_properties ' => [],
0 commit comments