nvidia-nat-agno 1.3.0a20250902__py3-none-any.whl → 1.3.0a20250906__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/plugins/agno/llm.py +6 -6
- {nvidia_nat_agno-1.3.0a20250902.dist-info → nvidia_nat_agno-1.3.0a20250906.dist-info}/METADATA +7 -4
- {nvidia_nat_agno-1.3.0a20250902.dist-info → nvidia_nat_agno-1.3.0a20250906.dist-info}/RECORD +6 -6
- {nvidia_nat_agno-1.3.0a20250902.dist-info → nvidia_nat_agno-1.3.0a20250906.dist-info}/WHEEL +0 -0
- {nvidia_nat_agno-1.3.0a20250902.dist-info → nvidia_nat_agno-1.3.0a20250906.dist-info}/entry_points.txt +0 -0
- {nvidia_nat_agno-1.3.0a20250902.dist-info → nvidia_nat_agno-1.3.0a20250906.dist-info}/top_level.txt +0 -0
nat/plugins/agno/llm.py
CHANGED
@@ -45,6 +45,12 @@ def _patch_llm_based_on_config(client: ModelType, llm_config: LLMBaseConfig) ->
|
|
45
45
|
new_messages = [Message(role="system", content=self.system_prompt)] + messages
|
46
46
|
return FunctionArgumentWrapper(new_messages, *args, **kwargs)
|
47
47
|
|
48
|
+
if isinstance(llm_config, RetryMixin):
|
49
|
+
client = patch_with_retry(client,
|
50
|
+
retries=llm_config.num_retries,
|
51
|
+
retry_codes=llm_config.retry_on_status_codes,
|
52
|
+
retry_on_messages=llm_config.retry_on_errors)
|
53
|
+
|
48
54
|
if isinstance(llm_config, ThinkingMixin) and llm_config.thinking_system_prompt is not None:
|
49
55
|
client = patch_with_thinking(
|
50
56
|
client,
|
@@ -56,12 +62,6 @@ def _patch_llm_based_on_config(client: ModelType, llm_config: LLMBaseConfig) ->
|
|
56
62
|
"ainvoke_stream",
|
57
63
|
]))
|
58
64
|
|
59
|
-
if isinstance(llm_config, RetryMixin):
|
60
|
-
client = patch_with_retry(client,
|
61
|
-
retries=llm_config.num_retries,
|
62
|
-
retry_codes=llm_config.retry_on_status_codes,
|
63
|
-
retry_on_messages=llm_config.retry_on_errors)
|
64
|
-
|
65
65
|
return client
|
66
66
|
|
67
67
|
|
{nvidia_nat_agno-1.3.0a20250902.dist-info → nvidia_nat_agno-1.3.0a20250906.dist-info}/METADATA
RENAMED
@@ -1,14 +1,17 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nvidia-nat-agno
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.0a20250906
|
4
4
|
Summary: Subpackage for Agno integration in NeMo Agent toolkit
|
5
5
|
Keywords: ai,rag,agents
|
6
6
|
Classifier: Programming Language :: Python
|
7
|
-
|
7
|
+
Classifier: Programming Language :: Python :: 3.11
|
8
|
+
Classifier: Programming Language :: Python :: 3.12
|
9
|
+
Classifier: Programming Language :: Python :: 3.13
|
10
|
+
Requires-Python: <3.14,>=3.11
|
8
11
|
Description-Content-Type: text/markdown
|
9
|
-
Requires-Dist: nvidia-nat==v1.3.
|
12
|
+
Requires-Dist: nvidia-nat==v1.3.0a20250906
|
10
13
|
Requires-Dist: agno~=1.2.3
|
11
|
-
Requires-Dist: openai~=1.
|
14
|
+
Requires-Dist: openai~=1.106
|
12
15
|
Requires-Dist: google-search-results~=2.4.2
|
13
16
|
|
14
17
|
<!--
|
{nvidia_nat_agno-1.3.0a20250902.dist-info → nvidia_nat_agno-1.3.0a20250906.dist-info}/RECORD
RENAMED
@@ -1,13 +1,13 @@
|
|
1
1
|
nat/meta/pypi.md,sha256=tZD7hiOSYWgiAdddD1eIJ8T5ipZwEIjnd8ilgmasdmw,1198
|
2
2
|
nat/plugins/agno/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
nat/plugins/agno/llm.py,sha256=
|
3
|
+
nat/plugins/agno/llm.py,sha256=umx9dp14lfi7gl2g_I0sHT3oiZB8TE_q5uuWFenpOxA,3804
|
4
4
|
nat/plugins/agno/register.py,sha256=q-es1KVb_PTHOFszltym7e7Pj2jmyieih_Ve-cguHI8,788
|
5
5
|
nat/plugins/agno/tool_wrapper.py,sha256=lzXjusqh25uLFKmNHhWFnagCLtBV-o6odRUOqr4egV0,15725
|
6
6
|
nat/plugins/agno/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
nat/plugins/agno/tools/register.py,sha256=mpNgD1r51EoYlQiEAqPX15wCtx2alDcMIQiR8F_ub-M,743
|
8
8
|
nat/plugins/agno/tools/serp_api_tool.py,sha256=AJQH6-1iEUUrk_nzfZ3zZqutEKhJ_LMOUJi_iol65Sc,4442
|
9
|
-
nvidia_nat_agno-1.3.
|
10
|
-
nvidia_nat_agno-1.3.
|
11
|
-
nvidia_nat_agno-1.3.
|
12
|
-
nvidia_nat_agno-1.3.
|
13
|
-
nvidia_nat_agno-1.3.
|
9
|
+
nvidia_nat_agno-1.3.0a20250906.dist-info/METADATA,sha256=JHLZq5_2zJLxKIi15MVYeS62ZQndvvXMWivOjib9Qiw,1763
|
10
|
+
nvidia_nat_agno-1.3.0a20250906.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
11
|
+
nvidia_nat_agno-1.3.0a20250906.dist-info/entry_points.txt,sha256=qRhuHKj2WmdJkLpbVXpYkdtc2cZdG4LPlBsABG2ImVI,103
|
12
|
+
nvidia_nat_agno-1.3.0a20250906.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
13
|
+
nvidia_nat_agno-1.3.0a20250906.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{nvidia_nat_agno-1.3.0a20250902.dist-info → nvidia_nat_agno-1.3.0a20250906.dist-info}/top_level.txt
RENAMED
File without changes
|