Skip to content

Commit df4aeae

Browse files
fix: Change ModelConfigFileNotFoundException to ModelConfigFileNotFoundError
1 parent 489b417 commit df4aeae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mxgo/routed_litellm_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _load_toml_config(self) -> dict[str, Any]:
6969
"""
7070
if not Path(self.config_path).exists():
7171
msg = f"Model config file not found at {self.config_path}. Please check the path."
72-
raise exceptions.ModelConfigFileNotFoundException(msg)
72+
raise exceptions.ModelConfigFileNotFoundError(msg)
7373

7474
try:
7575
with Path(self.config_path).open("rb") as f:

0 commit comments

Comments
 (0)