@@ -160,7 +160,7 @@ class GeniusAgent {
160160 issues = [];
161161 if (self .coder.auto_lint and self .coder.abs_fnames ) {
162162 try {
163- for fname in <> list (self .coder.abs_fnames) {
163+ for fname in ` list (self .coder.abs_fnames) {
164164 lint_result = self .coder.linter.lint(fname);
165165 if lint_result {
166166 issues.append(
@@ -684,7 +684,7 @@ class GeniusAgent {
684684 queries.append(f " 'python error solution ' { error_key_terms} " );
685685 }
686686 unique_queries = [];
687- seen = <> set ();
687+ seen = ` set ();
688688 for query in queries {
689689 if (query.lower() not in seen) {
690690 unique_queries.append(query);
@@ -711,7 +711,7 @@ class GeniusAgent {
711711 ' Checking code style and syntax'
712712 );
713713 try {
714- self .coder.commands.cmd_lint(fnames = <> list (self .coder.abs_fnames));
714+ self .coder.commands.cmd_lint(fnames = ` list (self .coder.abs_fnames));
715715 lint_passed = (self .coder.lint_outcome is not False );
716716 validation_results[' lint_passed' ] = lint_passed;
717717 if not lint_passed {
@@ -815,7 +815,7 @@ class GeniusAgent {
815815
816816 """ Generate a comprehensive report of the agent's work"""
817817 def generate_report (self : Any) -> str {
818- <> report =
818+ ` report =
819819
820820 [' Genius Agent Execution Report' ,
821821 (' =' * 40 ),
@@ -826,24 +826,24 @@ class GeniusAgent {
826826 ' ' ,
827827 ' Completed Tasks:' ];
828828 for task in self .completed_tasks {
829- <> report .append(f " ' ' { task[' name' ]} " );
829+ ` report .append(f " ' ' { task[' name' ]} " );
830830 }
831831 if self .failed_tasks {
832- <> report .append(' \n Failed Tasks:' );
832+ ` report .append(' \n Failed Tasks:' );
833833 for task in self .failed_tasks {
834- <> report .append(f " ' ' { task[' name' ]} " );
834+ ` report .append(f " ' ' { task[' name' ]} " );
835835 }
836836 }
837837 if self .validation_results {
838- <> report .extend(
838+ ` report .extend(
839839
840840 [' \n Final Validation Results:' ,
841841 f " ' Lint: ' { ' ✅' if self .validation_results[' lint_passed' ] else ' ❌' } " ,
842842 f " ' Tests: ' { ' ✅' if self .validation_results[' tests_passed' ] else ' ❌' } " ,
843843 f " ' Security: ' { ' ✅' if self .validation_results[' security_passed' ] else ' ❌' } " ]
844844 );
845845 }
846- return ' \n ' .join(<> report );
846+ return ' \n ' .join(` report);
847847 }
848848
849849 """ Main execution loop for the Genius Agent. Implements the complete agent architecture with feedback loops."""
@@ -901,8 +901,8 @@ class GeniusAgent {
901901 self ._handle_validation_failure(current_task, validation_details);
902902 }
903903 }
904- <> report = self .generate_report();
905- self .coder.io.tool_output(<> report );
904+ ` report = self .generate_report();
905+ self .coder.io.tool_output(` report);
906906 success =
907907 ((len (self .completed_tasks) > 0 )
908908 and (not self .validation_results
@@ -976,7 +976,7 @@ class GeniusAgent {
976976""" Legacy wrapper for backwards compatibility"""
977977class GeniusMode (GeniusAgent ) {
978978 def __init__ (self : Any, coder : Any, task : Any = None , max_iterations : Any = 5 ) {
979- <> super ().init (coder, task, max_iterations);
979+ ` super ().init (coder, task, max_iterations);
980980 }
981981}
982982
0 commit comments