Skip to content

Commit

Permalink
Suppress litellm debug messages (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
caufieldjh authored Aug 28, 2024
2 parents b7183af + 939dc51 commit 465fcd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ontogpt/clients/llm_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# Just get the part before the slash in each model name
SERVICES = {model.split("/")[0] for model in MODELS.keys() if len(model.split("/")) > 1}

# Necessary to avoid repeated debug messages
litellm.suppress_debug_info = True

@dataclass
class LLMClient:
Expand Down

0 comments on commit 465fcd1

Please sign in to comment.