Skip to content
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
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ To send us a pull request, please:


## Finding contributions to work on
Looking at the existing issues is a great way to find something to contribute on.
Looking at the existing issues is a great way to find something to contribute to.

You can check:
- Our known bugs list in [Bug Reports](../../issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) for issues that need fixing
Expand Down
2 changes: 1 addition & 1 deletion src/strands/event_loop/error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def handle_input_too_long_error(
"""Handle 'Input is too long' errors by truncating tool results.

When a context window overflow exception occurs (input too long for the model), this function attempts to recover
by finding and truncating the most recent tool results in the conversation history. If trunction is successful, the
by finding and truncating the most recent tool results in the conversation history. If truncation is successful, the
function will make a call to the event loop.

Args:
Expand Down
2 changes: 1 addition & 1 deletion src/strands/models/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def get_config(self) -> BedrockConfig:
"""Get the current Bedrock Model configuration.

Returns:
The Bedrok model configuration.
The Bedrock model configuration.
"""
return self.config

Expand Down
4 changes: 2 additions & 2 deletions src/strands/types/guardrails.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class GuardrailConfig(TypedDict, total=False):
Attributes:
guardrailIdentifier: Unique identifier for the guardrail.
guardrailVersion: Version of the guardrail to apply.
streamProcessingMode: Procesing mode.
streamProcessingMode: Processing mode.
trace: The trace behavior for the guardrail.
"""

Expand Down Expand Up @@ -219,7 +219,7 @@ class GuardrailAssessment(TypedDict):
contentPolicy: The content policy.
contextualGroundingPolicy: The contextual grounding policy used for the guardrail assessment.
sensitiveInformationPolicy: The sensitive information policy.
topicPolic: The topic policy.
topicPolicy: The topic policy.
wordPolicy: The word policy.
"""

Expand Down
2 changes: 1 addition & 1 deletion src/strands/types/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class ImageContent(TypedDict):


class VideoSource(TypedDict):
"""Contains the content of a vidoe.
"""Contains the content of a video.

Attributes:
bytes: The binary content of the video.
Expand Down