We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6326e57 commit b0bafb9Copy full SHA for b0bafb9
vision_agent/tools/meta_tools.py
@@ -1,6 +1,6 @@
1
import subprocess
2
from pathlib import Path
3
-from typing import List
+from typing import List, Union
4
5
import vision_agent as va
6
from vision_agent.lmm.types import Message
@@ -11,7 +11,7 @@
11
DEFAULT_WINDOW_SIZE = 100
12
13
14
-def filter_file(file_name: str | Path) -> bool:
+def filter_file(file_name: Union[str, Path]) -> bool:
15
file_name_p = Path(file_name)
16
return (
17
file_name_p.is_file()
0 commit comments