8000 style(callback_handler): fix docstring for PrintingCallbackHandler.__call__ by awsarron · Pull Request #126 · strands-agents/sdk-python · GitHub
[go: up one dir, main page]

Skip to content

style(callback_handler): fix docstring for PrintingCallbackHandler.__call__ #126

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

Merged
Merged
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
8 changes: 4 additions & 4 deletions src/strands/handlers/callback_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ def __call__(self, **kwargs: Any) -> None:

Args:
**kwargs: Callback event data including:
- reasoningText (Optional[str]): Reasoning text to print if provided.
- data (str): Text content to stream.
- complete (bool): Whether this is the final chunk of a response.
- current_tool_use (dict): Information about the current tool being used.
- reasoningText (Optional[str]): Reasoning text to print if provided.
- data (str): Text content to stream.
- complete (bool): Whether this is the final chunk of a response.
- current_tool_use (dict): Information about the current tool being used.
"""
reasoningText = kwargs.get("reasoningText", False)
data = kwargs.get("data", "")
Expand Down
0