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
5 changes: 0 additions & 5 deletions src/bedrock_agentcore/payments/integrations/strands/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ Once your payment resources are ready, wire up the plugin:
```python
import os
from strands import Agent
from strands_tools import http_request
from bedrock_agentcore.payments.integrations.strands import (
AgentCorePaymentsPlugin,
AgentCorePaymentsPluginConfig,
Expand All @@ -93,7 +92,6 @@ plugin = AgentCorePaymentsPlugin(config=AgentCorePaymentsPluginConfig(

agent = Agent(
system_prompt="You are a helpful assistant that can access paid APIs.",
tools=[http_request],
plugins=[plugin],
)

Expand Down Expand Up @@ -257,7 +255,6 @@ config = AgentCorePaymentsPluginConfig(
plugin = AgentCorePaymentsPlugin(config=config)
agent = Agent(
system_prompt="You are a helpful assistant.",
tools=[http_request],
plugins=[plugin],
)

Expand Down Expand Up @@ -383,7 +380,6 @@ config = AgentCorePaymentsPluginConfig(
plugin = AgentCorePaymentsPlugin(config=config)
agent = Agent(
system_prompt="You are a helpful assistant that can access paid APIs.",
tools=[http_request],
plugins=[plugin],
)
```
Expand Down Expand Up @@ -420,7 +416,6 @@ config = AgentCorePaymentsPluginConfig(
plugin = AgentCorePaymentsPlugin(config=config)
agent = Agent(
system_prompt="You are a helpful assistant that can access paid APIs.",
tools=[http_request],
plugins=[plugin],
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import httpx
import pytest
from strands import Agent
from strands_tools import http_request

from bedrock_agentcore.payments.integrations.config import AgentCorePaymentsPluginConfig
from bedrock_agentcore.payments.integrations.handlers import get_payment_handler
Expand Down Expand Up @@ -214,7 +213,7 @@ def test_v1_happy_case_with_real_payment_manager(self):
"You are a helpful assistant. If you encounter 405, change the http "
"method and try again. Print the tool input/output."
)
agent = Agent(system_prompt=SYSTME_PROMPT, tools=[http_request], plugins=[plugin])
agent = Agent(system_prompt=SYSTME_PROMPT, plugins=[plugin])

# Use the wrapper method to handle payment interrupts
result = self.invoke_agent_with_payment_handling(
Expand Down
Loading