Skip to content

Commit

Permalink
update(error type): ValueError to NotImplementedError
Browse files Browse the repository at this point in the history
  • Loading branch information
rabiaedayilmaz authored and mmz-001 committed Sep 13, 2023
1 parent 94d116d commit 2613ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knowledge_gpt/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ def get_llm(model: str, **kwargs) -> BaseChatModel:
if "gpt" in model:
return ChatOpenAI(model=model, **kwargs) # type: ignore

raise ValueError(f"Model {model} not supported!")
raise NotImplementedError(f"Model {model} not supported!")

0 comments on commit 2613ec5

Please sign in to comment.