nvidia-nat-agno 1.3.0a20250902__py3-none-any.whl → 1.3.0a20250904__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 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
 
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nvidia-nat-agno
3
- Version: 1.3.0a20250902
3
+ Version: 1.3.0a20250904
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
  Requires-Python: <3.13,>=3.11
8
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: nvidia-nat==v1.3.0a20250902
9
+ Requires-Dist: nvidia-nat==v1.3.0a20250904
10
10
  Requires-Dist: agno~=1.2.3
11
11
  Requires-Dist: openai~=1.66
12
12
  Requires-Dist: google-search-results~=2.4.2
@@ -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=QWJAQopnsb51efVkTHYsyolvkBB09dFSLpwjn847qTY,3804
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.0a20250902.dist-info/METADATA,sha256=E_h_O7tJkNiOK16TU7Mn4y3LeGX-P5-Js5Os-P8l2is,1609
10
- nvidia_nat_agno-1.3.0a20250902.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
- nvidia_nat_agno-1.3.0a20250902.dist-info/entry_points.txt,sha256=qRhuHKj2WmdJkLpbVXpYkdtc2cZdG4LPlBsABG2ImVI,103
12
- nvidia_nat_agno-1.3.0a20250902.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
13
- nvidia_nat_agno-1.3.0a20250902.dist-info/RECORD,,
9
+ nvidia_nat_agno-1.3.0a20250904.dist-info/METADATA,sha256=t0lwyPj31BHmTNKrAe13Kro1MSwoxiD5m4f_k3N_zhQ,1609
10
+ nvidia_nat_agno-1.3.0a20250904.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
+ nvidia_nat_agno-1.3.0a20250904.dist-info/entry_points.txt,sha256=qRhuHKj2WmdJkLpbVXpYkdtc2cZdG4LPlBsABG2ImVI,103
12
+ nvidia_nat_agno-1.3.0a20250904.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
13
+ nvidia_nat_agno-1.3.0a20250904.dist-info/RECORD,,