nvidia-nat-strands 1.4.0a20251209__py3-none-any.whl → 1.5.0a20260111__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.
nat/meta/pypi.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <!--
2
- SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
+ SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
 
5
5
  Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
2
  # SPDX-License-Identifier: Apache-2.0
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
2
  # SPDX-License-Identifier: Apache-2.0
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -23,6 +23,7 @@ Supported Providers
23
23
  - **AWS Bedrock**: Amazon Bedrock models (such as Claude) through ``AWSBedrockModelConfig``
24
24
 
25
25
  Each wrapper:
26
+
26
27
  - Validates that Responses API features are disabled (Strands manages tool execution)
27
28
  - Patches clients with NeMo Agent toolkit retry logic from ``RetryMixin``
28
29
  - Injects chain-of-thought prompts when ``ThinkingMixin`` is configured
@@ -37,7 +38,7 @@ The following providers are not yet supported but could be contributed:
37
38
  ``openai_strands`` and ensure Azure-specific authentication (endpoint, API version,
38
39
  deployment name) is properly handled.
39
40
 
40
- - **LiteLLM**: The wrapper would need to handle LiteLLM's unified interface across
41
+ - **LiteLLM**: The wrapper would need to handle LiteLLM's unified interface across
41
42
  multiple providers while preserving Strands' tool execution semantics.
42
43
 
43
44
  See the Strands documentation at https://strandsagents.com for model provider details.
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
2
  # SPDX-License-Identifier: Apache-2.0
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
2
  # SPDX-License-Identifier: Apache-2.0
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES.
1
+ # SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES.
2
2
  # All rights reserved.
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  #
@@ -93,6 +93,22 @@ class NATFunctionAgentTool(AgentTool):
93
93
 
94
94
  async def stream(self, tool_use: ToolUse, _invocation_state: dict[str, Any],
95
95
  **_kwargs: Any) -> AsyncGenerator[Any, None]:
96
+ """
97
+ Stream tool events and return the final result.
98
+
99
+ Parameters
100
+ ----------
101
+ tool_use : ToolUse
102
+ The tool use request containing tool ID and parameters.
103
+ _invocation_state : dict[str, Any]
104
+ Unused parameter for compatibility.
105
+ _kwargs : Any
106
+ Unused parameter for compatibility.
107
+
108
+ Yields
109
+ ------
110
+ Tool events with the last being the tool result.
111
+ """
96
112
  from strands.types._events import ToolResultEvent # type: ignore
97
113
  from strands.types._events import ToolStreamEvent
98
114
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nvidia-nat-strands
3
- Version: 1.4.0a20251209
3
+ Version: 1.5.0a20260111
4
4
  Summary: Subpackage for AWS Strands integration in NeMo Agent toolkit
5
5
  Author: NVIDIA Corporation
6
6
  Maintainer: NVIDIA Corporation
@@ -14,12 +14,12 @@ Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Programming Language :: Python :: 3.13
15
15
  Requires-Python: <3.14,>=3.11
16
16
  Description-Content-Type: text/markdown
17
- Requires-Dist: nvidia-nat==v1.4.0a20251209
17
+ Requires-Dist: nvidia-nat==v1.5.0a20260111
18
18
  Requires-Dist: strands-agents~=1.17
19
19
  Requires-Dist: strands-agents-tools~=0.2
20
20
 
21
21
  <!--
22
- SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
+ SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
23
23
  SPDX-License-Identifier: Apache-2.0
24
24
 
25
25
  Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,11 @@
1
+ nat/meta/pypi.md,sha256=HeR7RcOT8glXY0jvzQLfkF0bb8m9ZccaI3hr2nnDdvI,1117
2
+ nat/plugins/strands/__init__.py,sha256=hiEJ2ajB5zhZuZOUHAyHfTA9w9UNhygij7hp4yfA6QE,685
3
+ nat/plugins/strands/llm.py,sha256=3xbFz4v1aMhgWj7MQMaQfqGHoC-UERuvXpu8j-R8mNE,15062
4
+ nat/plugins/strands/register.py,sha256=-SQUpQnfJyPQYjnPhkC8n4MfFuTItrInBJ82dmNoDTw,765
5
+ nat/plugins/strands/strands_callback_handler.py,sha256=rAQm9ciRMPw0MgACXMjWAfwxwi0UOjOJgM_u2MdcENc,24997
6
+ nat/plugins/strands/tool_wrapper.py,sha256=ezRj_xXjDYYlhFyPPbfOvJSnWtox3rCw5r4l-_XdC6M,5100
7
+ nvidia_nat_strands-1.5.0a20260111.dist-info/METADATA,sha256=JwvdQork5lpl6u2WtW9bFXYOgqDe0JuVexjuXwDXvI0,1892
8
+ nvidia_nat_strands-1.5.0a20260111.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ nvidia_nat_strands-1.5.0a20260111.dist-info/entry_points.txt,sha256=6lerpn7DNmp8gJEPtjQIUA-fF6LlOhCm77lCP6ZOPA4,60
10
+ nvidia_nat_strands-1.5.0a20260111.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
11
+ nvidia_nat_strands-1.5.0a20260111.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- nat/meta/pypi.md,sha256=i_a-Zt6wbWAPjlFqa6CsvuaMZTjglgKxF7HzX3OZW5g,1112
2
- nat/plugins/strands/__init__.py,sha256=GUJrgGtpvyMUCjUBvR3faAdv-tZzbU9W-izgx9aMEQg,680
3
- nat/plugins/strands/llm.py,sha256=0vGhfS-98E0S2G6pPCRJ-Y_G53vCUofNvPwr-9mmL2U,15057
4
- nat/plugins/strands/register.py,sha256=oaVjGKwLkqzsSvimHHvgxfOLdpjEsEy8-VCtZPep5Bw,760
5
- nat/plugins/strands/strands_callback_handler.py,sha256=BeCsR4tTSxk7AVSt7Hq3KqEDyXI3Zwz2j4cwr_rAJv0,24992
6
- nat/plugins/strands/tool_wrapper.py,sha256=uWWEK4zMe3tL6j-Y_FQOAlD4rgw9O1V3iZxpt03JSk0,4604
7
- nvidia_nat_strands-1.4.0a20251209.dist-info/METADATA,sha256=OHR8MPzLKKyeG3AIUtBAWKZQyPSzfNByHJVF8Ky-4ZY,1887
8
- nvidia_nat_strands-1.4.0a20251209.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- nvidia_nat_strands-1.4.0a20251209.dist-info/entry_points.txt,sha256=6lerpn7DNmp8gJEPtjQIUA-fF6LlOhCm77lCP6ZOPA4,60
10
- nvidia_nat_strands-1.4.0a20251209.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
11
- nvidia_nat_strands-1.4.0a20251209.dist-info/RECORD,,