nvidia-nat-crewai 1.4.0a20251106__py3-none-any.whl → 1.4.0a20251224__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 nvidia-nat-crewai might be problematic. Click here for more details.

nat/plugins/crewai/llm.py CHANGED
@@ -98,11 +98,13 @@ async def azure_openai_crewai(llm_config: AzureOpenAIModelConfig, _builder: Buil
98
98
 
99
99
  client = LLM(
100
100
  **llm_config.model_dump(
101
- exclude={"type", "api_key", "azure_endpoint", "azure_deployment", "thinking", "api_type"},
101
+ exclude={"type", "api_key", "azure_endpoint", "azure_deployment", "thinking", "api_type", "api_version"},
102
102
  by_alias=True,
103
103
  exclude_none=True,
104
+ exclude_unset=True,
104
105
  ),
105
106
  model=model,
107
+ api_version=llm_config.api_version,
106
108
  )
107
109
 
108
110
  yield _patch_llm_based_on_config(client, llm_config)
@@ -122,9 +124,12 @@ async def nim_crewai(llm_config: NIMModelConfig, _builder: Builder):
122
124
  os.environ["NVIDIA_NIM_API_KEY"] = nvidia_api_key
123
125
 
124
126
  client = LLM(
125
- **llm_config.model_dump(exclude={"type", "model_name", "thinking", "api_type"},
126
- by_alias=True,
127
- exclude_none=True),
127
+ **llm_config.model_dump(
128
+ exclude={"type", "model_name", "thinking", "api_type"},
129
+ by_alias=True,
130
+ exclude_none=True,
131
+ exclude_unset=True,
132
+ ),
128
133
  model=f"nvidia_nim/{llm_config.model_name}",
129
134
  )
130
135
 
@@ -138,7 +143,8 @@ async def openai_crewai(llm_config: OpenAIModelConfig, _builder: Builder):
138
143
 
139
144
  validate_no_responses_api(llm_config, LLMFrameworkEnum.CREWAI)
140
145
 
141
- client = LLM(**llm_config.model_dump(exclude={"type", "thinking", "api_type"}, by_alias=True, exclude_none=True))
146
+ client = LLM(**llm_config.model_dump(
147
+ exclude={"type", "thinking", "api_type"}, by_alias=True, exclude_none=True, exclude_unset=True))
142
148
 
143
149
  yield _patch_llm_based_on_config(client, llm_config)
144
150
 
@@ -150,6 +156,7 @@ async def litellm_crewai(llm_config: LiteLlmModelConfig, _builder: Builder):
150
156
 
151
157
  validate_no_responses_api(llm_config, LLMFrameworkEnum.CREWAI)
152
158
 
153
- client = LLM(**llm_config.model_dump(exclude={"type", "thinking", "api_type"}, by_alias=True, exclude_none=True))
159
+ client = LLM(**llm_config.model_dump(
160
+ exclude={"type", "thinking", "api_type"}, by_alias=True, exclude_none=True, exclude_unset=True))
154
161
 
155
162
  yield _patch_llm_based_on_config(client, llm_config)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nvidia-nat-crewai
3
- Version: 1.4.0a20251106
3
+ Version: 1.4.0a20251224
4
4
  Summary: Subpackage for CrewAI integration in NeMo Agent toolkit
5
5
  Author: NVIDIA Corporation
6
6
  Maintainer: NVIDIA Corporation
@@ -16,7 +16,7 @@ Requires-Python: <3.14,>=3.11
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE-3rd-party.txt
18
18
  License-File: LICENSE.md
19
- Requires-Dist: nvidia-nat[litellm]==v1.4.0a20251106
19
+ Requires-Dist: nvidia-nat[litellm]==v1.4.0a20251224
20
20
  Requires-Dist: crewai~=0.193.2
21
21
  Dynamic: license-file
22
22
 
@@ -1,13 +1,13 @@
1
1
  nat/meta/pypi.md,sha256=T68FnThRzDGFf1LR8u-okM-r11-skSnKqSyI6HOktQY,1107
2
2
  nat/plugins/crewai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  nat/plugins/crewai/crewai_callback_handler.py,sha256=il537F5tD9pFL1P9Q38ReOZasD-GgcBrm8BX_w0-xdo,8582
4
- nat/plugins/crewai/llm.py,sha256=d-T2ecL2LoeJ3XdClDaexwvJPIQgLdVUEiqZDCaKwMQ,6438
4
+ nat/plugins/crewai/llm.py,sha256=WiIvjAGGYJ7Ofu9YtEwHoLv2xLNCANbOunu8v7Oxn54,6602
5
5
  nat/plugins/crewai/register.py,sha256=_R3bhGmz___696_NwyIcpw3koMBiWqIFoWEFJ0VAgXs,831
6
6
  nat/plugins/crewai/tool_wrapper.py,sha256=BNKEPQQCLKtXNzGDAKBLCdmGJXe9lBOVI1hObha8hoI,1569
7
- nvidia_nat_crewai-1.4.0a20251106.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
8
- nvidia_nat_crewai-1.4.0a20251106.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
9
- nvidia_nat_crewai-1.4.0a20251106.dist-info/METADATA,sha256=CmMGZD9SQGZrVmbDYGKHeLdAADPZbxF_NNVkqkY51e0,1922
10
- nvidia_nat_crewai-1.4.0a20251106.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
- nvidia_nat_crewai-1.4.0a20251106.dist-info/entry_points.txt,sha256=YF5PUdQGr_OUDXB4TykElHJTsKT8yKkuE0bMX5n_RXs,58
12
- nvidia_nat_crewai-1.4.0a20251106.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
13
- nvidia_nat_crewai-1.4.0a20251106.dist-info/RECORD,,
7
+ nvidia_nat_crewai-1.4.0a20251224.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
8
+ nvidia_nat_crewai-1.4.0a20251224.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
9
+ nvidia_nat_crewai-1.4.0a20251224.dist-info/METADATA,sha256=Umq5jRxS4uq7DSP4ky2KZL66tpZVjzaQ14UaqubQxWI,1922
10
+ nvidia_nat_crewai-1.4.0a20251224.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
+ nvidia_nat_crewai-1.4.0a20251224.dist-info/entry_points.txt,sha256=YF5PUdQGr_OUDXB4TykElHJTsKT8yKkuE0bMX5n_RXs,58
12
+ nvidia_nat_crewai-1.4.0a20251224.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
13
+ nvidia_nat_crewai-1.4.0a20251224.dist-info/RECORD,,