Skip to content

Commit ff1c3da

Browse files
committed
refactor(cli): remove obsolete opts
1 parent 5c13bea commit ff1c3da

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/vectorcode/cli_utils.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,7 @@ async def import_from(cls, config_dict: dict[str, Any]) -> "Config":
122122
Raise IOError if db_path is not valid.
123123
"""
124124
default_config = Config()
125-
db_path = config_dict.get("db_path")
126125

127-
if db_path is None:
128-
db_path = os.path.expanduser("~/.local/share/vectorcode/chromadb/")
129-
elif not os.path.isdir(db_path):
130-
raise IOError(
131-
f"The configured db_path ({str(db_path)}) is not a valid directory."
132-
)
133126
return Config(
134127
**{
135128
"embedding_function": config_dict.get(

0 commit comments

Comments
 (0)