Skip to content

Commit

Permalink
fix: stop using markup in docker env print (#336)
Browse files Browse the repository at this point in the history
* stop using markup in docker env print

* fix CI
  • Loading branch information
peteryang1 authored Sep 25, 2024
1 parent 2393a41 commit 3009889
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rdagent/utils/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from pydantic import BaseModel
from pydantic_settings import BaseSettings
from rich import print
from rich.console import Console
from rich.progress import Progress, SpinnerColumn, TextColumn
from rich.rule import Rule
from rich.table import Table
Expand Down Expand Up @@ -318,7 +319,7 @@ def run(
print(table)
for log in logs:
decoded_log = log.strip().decode()
print(decoded_log)
Console().print(decoded_log, markup=False)
log_output += decoded_log + "\n"
print(Rule("[bold green]Docker Logs End[/bold green]", style="dark_orange"))
container.wait()
Expand Down

0 comments on commit 3009889

Please sign in to comment.