Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyiqunLu committed May 20, 2024
1 parent 1e5cdd0 commit 3932bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vision_agent/agent/vision_agent_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ def write_and_exec_code(
tool_info: str,
exec: Execute,
retrieved_ltm: str,
log_progress: Callable[..., str],
max_retry: int = 3,
verbosity: int = 0,
log_progress: Callable[..., str] = None,
) -> Tuple[bool, str, str, Dict[str, List[str]]]:
success = False
counter = 0
Expand Down Expand Up @@ -227,9 +227,9 @@ def run_plan(
exec: Execute,
code: str,
tool_recommender: Sim,
log_progress: Callable[..., str],
long_term_memory: Optional[Sim] = None,
verbosity: int = 0,
log_progress: Callable[..., str] = None,
) -> Tuple[str, str, List[Dict[str, Any]], Dict[str, List[str]]]:
active_plan = [e for e in plan if "success" not in e or not e["success"]]
current_code = code
Expand Down

0 comments on commit 3932bf3

Please sign in to comment.