Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core[patch]: Update doc-strings in callbacks #28073

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion libs/core/langchain_core/callbacks/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class FileCallbackHandler(BaseCallbackHandler):
"""Callback Handler that writes to a file.

Parameters:
file: The file to write to.
filename: The file to write to.
mode: The mode to open the file in. Defaults to "a".
color: The color to use for the text.
"""

Expand Down
2 changes: 1 addition & 1 deletion libs/core/langchain_core/callbacks/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ def on_chat_model_start(
run_id: Optional[UUID] = None,
**kwargs: Any,
) -> list[CallbackManagerForLLMRun]:
"""Run when LLM starts running.
"""Run when chat model starts running.

Args:
serialized (Dict[str, Any]): The serialized LLM.
Expand Down
Loading