Skip to content

Commit ede5652

Browse files
author
Tirthanu Ghosh
committed
Fix line length violations without formatting changes
- Only fix the two lines that exceeded 120 character limit - No other whitespace or formatting changes to keep diff clean
1 parent 6a2d6e9 commit ede5652

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/strands_tools/retrieve.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@
169169
"overrideSearchType": {
170170
"type": "string",
171171
"description": (
172-
"Override the search type for the knowledge base query. Supported values: 'HYBRID', 'SEMANTIC'. "
173-
"Default behavior uses the knowledge base's configured search type."
172+
"Override the search type for the knowledge base query. Supported values: 'HYBRID', "
173+
"'SEMANTIC'. Default behavior uses the knowledge base's configured search type."
174174
),
175175
"enum": ["HYBRID", "SEMANTIC"],
176176
},
@@ -321,7 +321,8 @@ def retrieve(tool: ToolUse, **kwargs: Any) -> ToolResult:
321321
return {
322322
"toolUseId": tool_use_id,
323323
"status": "error",
324-
"content": [{"text": f"Invalid overrideSearchType: {override_search_type}. Supported values: HYBRID, SEMANTIC"}],
324+
"content": [{"text": f"Invalid overrideSearchType: {override_search_type}. "
325+
f"Supported values: HYBRID, SEMANTIC"}],
325326
}
326327

327328
# Initialize Bedrock client with optional profile name

0 commit comments

Comments
 (0)