Skip to content

Commit

Permalink
make path
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits committed Mar 11, 2024
1 parent 588ee40 commit 3256673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen/coding/docker_commandline_code_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def execute_code_blocks(self, code_blocks: List[CodeBlock]) -> CommandLineCodeRe

try:
# Check if there is a filename comment
filename = _get_file_name_from_content(code, "/workspace")
filename = _get_file_name_from_content(code, Path("/workspace"))
except ValueError:
return CommandLineCodeResult(exit_code=1, output="Filename is not in the workspace")

Expand Down

0 comments on commit 3256673

Please sign in to comment.