Skip to content

docs: add docstrings for LiteLLM logging APIs#9454

Open
biefan wants to merge 1 commit intostanfordnlp:mainfrom
biefan:docs-docstrings-clients-litellm-9453
Open

docs: add docstrings for LiteLLM logging APIs#9454
biefan wants to merge 1 commit intostanfordnlp:mainfrom
biefan:docs-docstrings-clients-litellm-9453

Conversation

@biefan
Copy link
Copy Markdown

@biefan biefan commented Mar 14, 2026

Summary

This PR adds missing Google-style docstrings to the public LiteLLM logging helpers in dspy/clients/__init__.py.

Updated APIs

  • enable_litellm_logging
  • disable_litellm_logging

Notes

  • Added concise usage examples in each docstring.
  • No runtime behavior changes.

Validation

  • python3 -m py_compile dspy/clients/__init__.py

Resolves #9453
Related to #8926

Signed-off-by: biefan <70761325+biefan@users.noreply.github.com>
@MaximeRivest
Copy link
Copy Markdown
Collaborator

before reviewing docstrings pr we now ask that you please add screenshots of you pr's changes as we would see them on dspy.ai after the pr is merged.

See #8926 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Add missing docstrings for LiteLLM logging APIs in dspy/clients/__init__.py

2 participants