Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions trae_agent/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,13 +342,6 @@ def run(
working_dir = os.getcwd()
console.print(f"[blue]Using current directory as working directory: {working_dir}[/blue]")

# Ensure working directory is an absolute path
if not Path(working_dir).is_absolute():
console.print(
f"[red]Working directory must be an absolute path: {working_dir}, it should start with `/`[/red]"
)
sys.exit(1)

agent = Agent(
agent_type,
config,
Expand Down