Skip to content

Commit

Permalink
- fixed typo;
Browse files Browse the repository at this point in the history
  • Loading branch information
jaltmayerpizzorno committed Feb 7, 2025
1 parent ea5df4a commit df6cc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coverup/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def set_signal_retry(self, signal_retry: T.Callable) -> None:
def add_function(self, function: T.Callable) -> None:
"""Makes a function availabe to the LLM."""
if not litellm.supports_function_calling(self._model):
raise ChatError(f"The {f._model} model does not support function calling.")
raise ChatterError(f"The {f._model} model does not support function calling.")

try:
schema = json.loads(function.__doc__)
Expand Down

0 comments on commit df6cc4a

Please sign in to comment.