bedrock-agentcore-starter-toolkit 0.1.4__py3-none-any.whl → 0.1.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bedrock-agentcore-starter-toolkit might be problematic. Click here for more details.
- bedrock_agentcore_starter_toolkit/operations/gateway/client.py +1 -0
- bedrock_agentcore_starter_toolkit/services/runtime.py +13 -2
- bedrock_agentcore_starter_toolkit/utils/runtime/templates/Dockerfile.j2 +1 -1
- {bedrock_agentcore_starter_toolkit-0.1.4.dist-info → bedrock_agentcore_starter_toolkit-0.1.6.dist-info}/METADATA +2 -2
- {bedrock_agentcore_starter_toolkit-0.1.4.dist-info → bedrock_agentcore_starter_toolkit-0.1.6.dist-info}/RECORD +9 -9
- {bedrock_agentcore_starter_toolkit-0.1.4.dist-info → bedrock_agentcore_starter_toolkit-0.1.6.dist-info}/WHEEL +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.4.dist-info → bedrock_agentcore_starter_toolkit-0.1.6.dist-info}/entry_points.txt +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.4.dist-info → bedrock_agentcore_starter_toolkit-0.1.6.dist-info}/licenses/LICENSE.txt +0 -0
- {bedrock_agentcore_starter_toolkit-0.1.4.dist-info → bedrock_agentcore_starter_toolkit-0.1.6.dist-info}/licenses/NOTICE.txt +0 -0
|
@@ -84,6 +84,7 @@ class GatewayClient:
|
|
|
84
84
|
"protocolType": "MCP",
|
|
85
85
|
"authorizerType": "CUSTOM_JWT",
|
|
86
86
|
"authorizerConfiguration": authorizer_config,
|
|
87
|
+
"exceptionLevel": "DEBUG"
|
|
87
88
|
}
|
|
88
89
|
if enable_semantic_search:
|
|
89
90
|
create_request["protocolConfiguration"] = {"mcp": {"searchType": "SEMANTIC"}}
|
|
@@ -9,6 +9,7 @@ from typing import Any, Dict, Optional
|
|
|
9
9
|
|
|
10
10
|
import boto3
|
|
11
11
|
import requests
|
|
12
|
+
from botocore.config import Config
|
|
12
13
|
from botocore.exceptions import ClientError
|
|
13
14
|
from rich.console import Console
|
|
14
15
|
|
|
@@ -93,8 +94,18 @@ class BedrockAgentCoreClient:
|
|
|
93
94
|
self.logger.debug("Control plane: %s", control_plane_url)
|
|
94
95
|
self.logger.debug("Data plane: %s", data_plane_url)
|
|
95
96
|
|
|
96
|
-
|
|
97
|
-
|
|
97
|
+
config = Config(
|
|
98
|
+
read_timeout=900,
|
|
99
|
+
connect_timeout=60,
|
|
100
|
+
retries={"max_attempts": 3},
|
|
101
|
+
)
|
|
102
|
+
|
|
103
|
+
self.client = boto3.client(
|
|
104
|
+
"bedrock-agentcore-control", region_name=region, endpoint_url=control_plane_url, config=config
|
|
105
|
+
)
|
|
106
|
+
self.dataplane_client = boto3.client(
|
|
107
|
+
"bedrock-agentcore", region_name=region, endpoint_url=data_plane_url, config=config
|
|
108
|
+
)
|
|
98
109
|
|
|
99
110
|
def create_agent(
|
|
100
111
|
self,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bedrock-agentcore-starter-toolkit
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
4
4
|
Summary: A starter toolkit for using Bedrock AgentCore
|
|
5
5
|
Project-URL: Homepage, https://github.com/aws/bedrock-agentcore-starter-toolkit
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/aws/bedrock-agentcore-starter-toolkit/issues
|
|
@@ -22,7 +22,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
22
22
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
23
|
Requires-Python: >=3.10
|
|
24
24
|
Requires-Dist: autopep8>=2.3.2
|
|
25
|
-
Requires-Dist: bedrock-agentcore>=0.1.
|
|
25
|
+
Requires-Dist: bedrock-agentcore>=0.1.2
|
|
26
26
|
Requires-Dist: boto3>=1.39.7
|
|
27
27
|
Requires-Dist: botocore>=1.39.7
|
|
28
28
|
Requires-Dist: docstring-parser<1.0,>=0.15
|
|
@@ -17,7 +17,7 @@ bedrock_agentcore_starter_toolkit/notebook/runtime/bedrock_agentcore.py,sha256=U
|
|
|
17
17
|
bedrock_agentcore_starter_toolkit/operations/__init__.py,sha256=L7sCNjfZviiVVoh2f3NEs2sbjNqFkmIRI3ZPYMMWMz0,51
|
|
18
18
|
bedrock_agentcore_starter_toolkit/operations/gateway/README.md,sha256=aJla3qAaZmM0b4t9q4lQYqfamAugU0FyyzsufFMRi_A,8192
|
|
19
19
|
bedrock_agentcore_starter_toolkit/operations/gateway/__init__.py,sha256=5Qo1GeN-DghNp9g0coFUs7WpUJDboJoidOVs-5Co7fo,233
|
|
20
|
-
bedrock_agentcore_starter_toolkit/operations/gateway/client.py,sha256=
|
|
20
|
+
bedrock_agentcore_starter_toolkit/operations/gateway/client.py,sha256=udkwl15s6gmpHgmZfJKHy9sO1NulL3ByRignZkFwzoM,20067
|
|
21
21
|
bedrock_agentcore_starter_toolkit/operations/gateway/constants.py,sha256=0_4J6BN4VAE4-XTQhPTEACkhilRrFqu_iKiuHSm2pYk,4610
|
|
22
22
|
bedrock_agentcore_starter_toolkit/operations/gateway/create_lambda.py,sha256=MQsBJfUj26zBh7LqYWLoekHuvbAHIJE8qcXwrmJOhM0,2875
|
|
23
23
|
bedrock_agentcore_starter_toolkit/operations/gateway/create_role.py,sha256=a38JE28PbdRabskTgLXsiqHqWS1vt06jxEEGneYPO_g,3145
|
|
@@ -32,7 +32,7 @@ bedrock_agentcore_starter_toolkit/operations/runtime/status.py,sha256=tpOtzAq1S3
|
|
|
32
32
|
bedrock_agentcore_starter_toolkit/services/__init__.py,sha256=s7QtYYFCCX2ff0gZHUdDxCDI3zhUq0fPsjevZbF9xdA,66
|
|
33
33
|
bedrock_agentcore_starter_toolkit/services/codebuild.py,sha256=i5VbjqAWrPsPwLUdGSWI-_beqFHPqN3FnVLKM4s3rSo,13445
|
|
34
34
|
bedrock_agentcore_starter_toolkit/services/ecr.py,sha256=nW9wIZcXI6amZeLVSmM9F6awVBQP1-zrFXTozSNEDjo,2805
|
|
35
|
-
bedrock_agentcore_starter_toolkit/services/runtime.py,sha256=
|
|
35
|
+
bedrock_agentcore_starter_toolkit/services/runtime.py,sha256=ZLQ8X48mOb4xqzvbVf8vqOZR5AAA9atf89va6tW3-uo,18601
|
|
36
36
|
bedrock_agentcore_starter_toolkit/services/import_agent/__init__.py,sha256=ig-xanZqA3oJdRTucYz9xF9_2yi31ADRVIKFsnIw_l4,68
|
|
37
37
|
bedrock_agentcore_starter_toolkit/services/import_agent/utils.py,sha256=ErY-J0hClJbt5D-pQ99ma-1Fll35tHjqOttM-h0bKKw,15675
|
|
38
38
|
bedrock_agentcore_starter_toolkit/services/import_agent/assets/memory_manager_template.py,sha256=RKrtTxir5XxyMg6cim4CAEbguaxb4mg1Qb31pd7D_kY,7892
|
|
@@ -51,13 +51,13 @@ bedrock_agentcore_starter_toolkit/utils/runtime/entrypoint.py,sha256=0MlqXCUcW9D
|
|
|
51
51
|
bedrock_agentcore_starter_toolkit/utils/runtime/logs.py,sha256=RUP5W2rbkXf33Kis4MnaI8xIjkpidO1at3kiXmxAw0I,1082
|
|
52
52
|
bedrock_agentcore_starter_toolkit/utils/runtime/policy_template.py,sha256=CgER7YXPh0BpR6JcTcumDL_k8bhmfLSEok1sf09-31I,2054
|
|
53
53
|
bedrock_agentcore_starter_toolkit/utils/runtime/schema.py,sha256=gZ0zPvry-ZkXwqUEAy6Izz1RJvmZaXA6a2twnSdk1AY,6418
|
|
54
|
-
bedrock_agentcore_starter_toolkit/utils/runtime/templates/Dockerfile.j2,sha256
|
|
54
|
+
bedrock_agentcore_starter_toolkit/utils/runtime/templates/Dockerfile.j2,sha256=-HQM15yR-EPhkyQBaO4qRKqaqYdpTAOprMTOzUWkTU8,1166
|
|
55
55
|
bedrock_agentcore_starter_toolkit/utils/runtime/templates/dockerignore.template,sha256=b_70sBi0MwkTuA9TqxPqFcWK7TcmpaXBJ6M2Ipox65Q,691
|
|
56
56
|
bedrock_agentcore_starter_toolkit/utils/runtime/templates/execution_role_policy.json.j2,sha256=kBNIDrILAx4ZGUxB_ExZAYxTKENfwNFVc7eifiD8z9U,2511
|
|
57
57
|
bedrock_agentcore_starter_toolkit/utils/runtime/templates/execution_role_trust_policy.json.j2,sha256=PPJF6Ofq70W5DUE0NlbmnZjw5RkgepPgkskxEgEG28o,473
|
|
58
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
59
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
60
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
61
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
62
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
63
|
-
bedrock_agentcore_starter_toolkit-0.1.
|
|
58
|
+
bedrock_agentcore_starter_toolkit-0.1.6.dist-info/METADATA,sha256=ekLiNPUrYrvTAi2191q2tjgV9xILlutAmSDiIN3B9xE,7120
|
|
59
|
+
bedrock_agentcore_starter_toolkit-0.1.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
60
|
+
bedrock_agentcore_starter_toolkit-0.1.6.dist-info/entry_points.txt,sha256=Tf94DkUf2Tp8P7p8MEXLxre7A7Pp_XNukteiz0wHnk8,77
|
|
61
|
+
bedrock_agentcore_starter_toolkit-0.1.6.dist-info/licenses/LICENSE.txt,sha256=nNPOMinitYdtfbhdQgsPgz1UowBznU6QVN3Xs0pSTKU,10768
|
|
62
|
+
bedrock_agentcore_starter_toolkit-0.1.6.dist-info/licenses/NOTICE.txt,sha256=rkBsg8DbKqfIoQbveqX9foR4uJPUVAokbkr02pRPilE,8674
|
|
63
|
+
bedrock_agentcore_starter_toolkit-0.1.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|