File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -1250,9 +1250,21 @@ def process_review(
12501250 response = create_staging (** data )
12511251 if response .status_code == 200 :
12521252 staging_url = f"https://app.codeflash.ai/review-optimizations/{ self .function_trace_id [:- 4 ] + exp_type if self .experiment_id else self .function_trace_id } "
1253- console .print (f"[bold green]✅ Staging created:[/bold green] [link={ staging_url } ]{ staging_url } [/link]" )
1253+ console .print (
1254+ Panel (
1255+ f"[bold green]✅ Staging created:[/bold green]\n [link={ staging_url } ]{ staging_url } [/link]" ,
1256+ title = "Staging Link" ,
1257+ border_style = "green"
1258+ )
1259+ )
12541260 else :
1255- console .print (f"[bold red]❌ Failed to create staging [/bold red] — status { response .status_code } " )
1261+ console .print (
1262+ Panel (
1263+ f"[bold red]❌ Failed to create staging[/bold red]\n Status: { response .status_code } " ,
1264+ title = "Staging Error" ,
1265+ border_style = "red"
1266+ )
1267+ )
12561268
12571269 else :
12581270 # Mark optimization success since no PR will be created
You can’t perform that action at this time.
0 commit comments