Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Apr 29, 2024
1 parent b2be87b commit 94d98a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vision_agent/agent/agent_coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def write_tests(question: str, code: str, model: LLM) -> str:


def preprocess_data(code: str) -> str:
if f"```python" in code:
code = code[code.find(f"```python") + len(f"```python") :]
if "```python" in code:
code = code[code.find("```python") + len("```python") :]
code = code[: code.find("```")]
return code

Expand Down

0 comments on commit 94d98a2

Please sign in to comment.