Skip to content

Commit

Permalink
fix type issue'
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Jul 16, 2024
1 parent 6326e57 commit b0bafb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vision_agent/tools/meta_tools.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import subprocess
from pathlib import Path
from typing import List
from typing import List, Union

import vision_agent as va
from vision_agent.lmm.types import Message
Expand All @@ -11,7 +11,7 @@
DEFAULT_WINDOW_SIZE = 100


def filter_file(file_name: str | Path) -> bool:
def filter_file(file_name: Union[str, Path]) -> bool:
file_name_p = Path(file_name)
return (
file_name_p.is_file()
Expand Down

0 comments on commit b0bafb9

Please sign in to comment.