aiqtoolkit 1.2.0a20250730__py3-none-any.whl → 1.2.0a20250731__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 aiqtoolkit might be problematic. Click here for more details.

@@ -15,12 +15,10 @@
15
15
 
16
16
  import asyncio
17
17
  import logging
18
- from io import StringIO
19
18
 
20
19
  import click
21
20
  from colorama import Fore
22
21
 
23
- from aiq.builder.workflow_builder import WorkflowBuilder
24
22
  from aiq.data_models.interactive import HumanPromptModelType
25
23
  from aiq.data_models.interactive import HumanResponse
26
24
  from aiq.data_models.interactive import HumanResponseText
@@ -61,27 +59,9 @@ class ConsoleFrontEndPlugin(SimpleFrontEndPluginBase[ConsoleFrontEndConfig]):
61
59
  if (not self.front_end_config.input_query and not self.front_end_config.input_file):
62
60
  raise click.UsageError("Must specify either --input_query or --input_file")
63
61
 
64
- async def run(self):
65
-
66
- # Must yield the workflow function otherwise it cleans up
67
- async with WorkflowBuilder.from_config(config=self.full_config) as builder:
68
-
69
- session_manager: AIQSessionManager = None
70
-
71
- if logger.isEnabledFor(logging.INFO):
72
- stream = StringIO()
73
-
74
- self.full_config.print_summary(stream=stream)
75
-
76
- click.echo(stream.getvalue())
77
-
78
- workflow = builder.build()
79
- session_manager = AIQSessionManager(workflow)
80
-
81
- await self.run_workflow(session_manager)
82
-
83
- async def run_workflow(self, session_manager: AIQSessionManager = None):
62
+ async def run_workflow(self, session_manager: AIQSessionManager):
84
63
 
64
+ assert session_manager is not None, "Session manager must be provided"
85
65
  runner_outputs = None
86
66
 
87
67
  if (self.front_end_config.input_query):
@@ -45,8 +45,10 @@ class SimpleFrontEndPluginBase(FrontEndBase[FrontEndConfigT], ABC):
45
45
 
46
46
  click.echo(stream.getvalue())
47
47
 
48
- await self.run_workflow(builder.build())
48
+ workflow = builder.build()
49
+ session_manager = AIQSessionManager(workflow)
50
+ await self.run_workflow(session_manager)
49
51
 
50
52
  @abstractmethod
51
- async def run_workflow(self, session_manager: AIQSessionManager = None):
53
+ async def run_workflow(self, session_manager: AIQSessionManager):
52
54
  pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiqtoolkit
3
- Version: 1.2.0a20250730
3
+ Version: 1.2.0a20250731
4
4
  Summary: NVIDIA Agent Intelligence toolkit
5
5
  Author: NVIDIA Corporation
6
6
  Maintainer: NVIDIA Corporation
@@ -208,7 +208,7 @@ aiq/front_ends/register.py,sha256=OKv1xi-g8WHtUMuIPhwjG6wOYqaGDD-Q9vDtKtT9d1Y,88
208
208
  aiq/front_ends/console/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
209
209
  aiq/front_ends/console/authentication_flow_handler.py,sha256=pKgaAnBfr3Zc5V3yPiyU-oVZyCC-dNwjvhLn1gSxnUE,9566
210
210
  aiq/front_ends/console/console_front_end_config.py,sha256=vI81IK9GJll0t9P-3yb1JcUda5PLfdvyKc-636ZSqYU,1327
211
- aiq/front_ends/console/console_front_end_plugin.py,sha256=3qOLXKI6JCE33oh2MylrxMm_EonZlUCGjxZrPvTJ_4k,4535
211
+ aiq/front_ends/console/console_front_end_plugin.py,sha256=WXrB5ugakwsoGxbhXJPJjyb5Evoe-eDHBPOnJdtWO9A,3937
212
212
  aiq/front_ends/console/register.py,sha256=a84M0jWUFTgOQVyrUiS7UJcxx84i1zhCb1yRkjhapiQ,1159
213
213
  aiq/front_ends/cron/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
214
214
  aiq/front_ends/fastapi/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
@@ -235,7 +235,7 @@ aiq/front_ends/mcp/mcp_front_end_plugin.py,sha256=XXyu5A5zWLH-eZgLDGcdCELXkwC1YP
235
235
  aiq/front_ends/mcp/register.py,sha256=9u5AJVH5UXiniP9bmsOjpfWVzQLHFlUPfL5HZ10Qwnw,1179
236
236
  aiq/front_ends/mcp/tool_converter.py,sha256=Pgb06Gtb8MVWeV_dAaI4Tl0Hono_mSuJAHRxTvSONHQ,9840
237
237
  aiq/front_ends/simple_base/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
238
- aiq/front_ends/simple_base/simple_front_end_plugin_base.py,sha256=HzcJFHZUZFnZJdw4YcRTG6nQbTDoBQSgKO6vwifSomk,1684
238
+ aiq/front_ends/simple_base/simple_front_end_plugin_base.py,sha256=HFGa3qJXEK_og4lwXid_YGArlm1lz0GOZ89dMWn152E,1774
239
239
  aiq/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
240
240
  aiq/llm/aws_bedrock_llm.py,sha256=FFlwS7xZYSTRuPWU_vxvTbmPTbuZpN0ByVxYukEThM4,2836
241
241
  aiq/llm/nim_llm.py,sha256=_9WwR4Pt9RCg8RG9oBeYxSt94KcZsMEVoKOFjig_2Zo,2179
@@ -427,10 +427,10 @@ aiq/utils/reactive/base/observer_base.py,sha256=UAlyAY_ky4q2t0P81RVFo2Bs_R7z5Nde
427
427
  aiq/utils/reactive/base/subject_base.py,sha256=Ed-AC6P7cT3qkW1EXjzbd5M9WpVoeN_9KCe3OM3FLU4,2521
428
428
  aiq/utils/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
429
429
  aiq/utils/settings/global_settings.py,sha256=U9TCLdoZsKq5qOVGjREipGVv9e-FlStzqy5zv82_VYk,7454
430
- aiqtoolkit-1.2.0a20250730.dist-info/licenses/LICENSE-3rd-party.txt,sha256=8o7aySJa9CBvFshPcsRdJbczzdNyDGJ8b0J67WRUQ2k,183936
431
- aiqtoolkit-1.2.0a20250730.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
432
- aiqtoolkit-1.2.0a20250730.dist-info/METADATA,sha256=9q3CQ5wquTJIE_YV5Faodf2wXduAaWXpOVwFy0m8EEI,21564
433
- aiqtoolkit-1.2.0a20250730.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
434
- aiqtoolkit-1.2.0a20250730.dist-info/entry_points.txt,sha256=iZR3yrf1liXfbcLqn5_pUkLhZyr1bUw_Qh1d2i7gsv4,625
435
- aiqtoolkit-1.2.0a20250730.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
436
- aiqtoolkit-1.2.0a20250730.dist-info/RECORD,,
430
+ aiqtoolkit-1.2.0a20250731.dist-info/licenses/LICENSE-3rd-party.txt,sha256=8o7aySJa9CBvFshPcsRdJbczzdNyDGJ8b0J67WRUQ2k,183936
431
+ aiqtoolkit-1.2.0a20250731.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
432
+ aiqtoolkit-1.2.0a20250731.dist-info/METADATA,sha256=n1FtKvKcVGn7LJs3KZa1UUOJWXMi2bNI0baIy6rNGM8,21564
433
+ aiqtoolkit-1.2.0a20250731.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
434
+ aiqtoolkit-1.2.0a20250731.dist-info/entry_points.txt,sha256=iZR3yrf1liXfbcLqn5_pUkLhZyr1bUw_Qh1d2i7gsv4,625
435
+ aiqtoolkit-1.2.0a20250731.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
436
+ aiqtoolkit-1.2.0a20250731.dist-info/RECORD,,