Skip to content

Commit 266ebcb

Browse files
committed
mypy
1 parent db7d6b9 commit 266ebcb

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

docs/core/event_handler/bedrock_agents.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,15 +401,15 @@ Test your routes by passing an [Agent for Amazon Bedrock proxy event](https://do
401401

402402
The `BedrockAgentFunctionResolver` handles three main aspects:
403403

404-
1. **Function Registration**: Using the `@app.tool()` decorator
404+
* **Function Registration**: Using the `@app.tool()` decorator
405405

406406
| Field | Required | Description |
407407
|-------|----------|-------------|
408408
| description | No | Human-readable description of what the function does. |
409409
| name | No | Custom name for the function. Defaults to the function name. |
410410

411-
2. **Parameter Processing**: Automatic parsing and validation of input parameters
412-
3. **Response Formatting**: Converting function outputs into Bedrock Agent compatible responses
411+
* **Parameter Processing**: Automatic parsing and validation of input parameters
412+
* **Response Formatting**: Converting function outputs into Bedrock Agent compatible responses
413413

414414
### Function-based Responses
415415

examples/event_handler_bedrock_agents/src/working_bedrock_functions_response.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
from aws_lambda_powertools.event_handler import BedrockFunctionAgentResolver
2-
from aws_lambda_powertools.event_handler.api_gateway import BedrockFunctionResponse
1+
from aws_lambda_powertools.event_handler import BedrockAgentFunctionResolver, BedrockFunctionResponse
32

4-
app = BedrockFunctionAgentResolver()
3+
app = BedrockAgentFunctionResolver()
54

65

76
@app.tool(description="Function that demonstrates response customization")

0 commit comments

Comments
 (0)