nvidia-nat-crewai 1.4.0a20251106__py3-none-any.whl → 1.4.0a20251107__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/crewai/llm.py CHANGED
@@ -101,6 +101,7 @@ async def azure_openai_crewai(llm_config: AzureOpenAIModelConfig, _builder: Buil
101
101
  exclude={"type", "api_key", "azure_endpoint", "azure_deployment", "thinking", "api_type"},
102
102
  by_alias=True,
103
103
  exclude_none=True,
104
+ exclude_unset=True,
104
105
  ),
105
106
  model=model,
106
107
  )
@@ -122,9 +123,12 @@ async def nim_crewai(llm_config: NIMModelConfig, _builder: Builder):
122
123
  os.environ["NVIDIA_NIM_API_KEY"] = nvidia_api_key
123
124
 
124
125
  client = LLM(
125
- **llm_config.model_dump(exclude={"type", "model_name", "thinking", "api_type"},
126
- by_alias=True,
127
- exclude_none=True),
126
+ **llm_config.model_dump(
127
+ exclude={"type", "model_name", "thinking", "api_type"},
128
+ by_alias=True,
129
+ exclude_none=True,
130
+ exclude_unset=True,
131
+ ),
128
132
  model=f"nvidia_nim/{llm_config.model_name}",
129
133
  )
130
134
 
@@ -138,7 +142,8 @@ async def openai_crewai(llm_config: OpenAIModelConfig, _builder: Builder):
138
142
 
139
143
  validate_no_responses_api(llm_config, LLMFrameworkEnum.CREWAI)
140
144
 
141
- client = LLM(**llm_config.model_dump(exclude={"type", "thinking", "api_type"}, by_alias=True, exclude_none=True))
145
+ client = LLM(**llm_config.model_dump(
146
+ exclude={"type", "thinking", "api_type"}, by_alias=True, exclude_none=True, exclude_unset=True))
142
147
 
143
148
  yield _patch_llm_based_on_config(client, llm_config)
144
149
 
@@ -150,6 +155,7 @@ async def litellm_crewai(llm_config: LiteLlmModelConfig, _builder: Builder):
150
155
 
151
156
  validate_no_responses_api(llm_config, LLMFrameworkEnum.CREWAI)
152
157
 
153
- client = LLM(**llm_config.model_dump(exclude={"type", "thinking", "api_type"}, by_alias=True, exclude_none=True))
158
+ client = LLM(**llm_config.model_dump(
159
+ exclude={"type", "thinking", "api_type"}, by_alias=True, exclude_none=True, exclude_unset=True))
154
160
 
155
161
  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.0a20251107
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.0a20251107
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=8p44XSnbSUPC0yXWDcCx4YsvMWHMOGmm48eaUmKmm1w,6543
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.0a20251107.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
8
+ nvidia_nat_crewai-1.4.0a20251107.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
9
+ nvidia_nat_crewai-1.4.0a20251107.dist-info/METADATA,sha256=q5NAO4kW_DJdbdeO_DqSxPcyFSlH3j68KIBHgXrkMgQ,1922
10
+ nvidia_nat_crewai-1.4.0a20251107.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
+ nvidia_nat_crewai-1.4.0a20251107.dist-info/entry_points.txt,sha256=YF5PUdQGr_OUDXB4TykElHJTsKT8yKkuE0bMX5n_RXs,58
12
+ nvidia_nat_crewai-1.4.0a20251107.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
13
+ nvidia_nat_crewai-1.4.0a20251107.dist-info/RECORD,,