grasp_agents 0.4.3__py3-none-any.whl → 0.4.4__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.
- grasp_agents/processor.py +3 -1
- {grasp_agents-0.4.3.dist-info → grasp_agents-0.4.4.dist-info}/METADATA +1 -1
- {grasp_agents-0.4.3.dist-info → grasp_agents-0.4.4.dist-info}/RECORD +5 -5
- {grasp_agents-0.4.3.dist-info → grasp_agents-0.4.4.dist-info}/WHEEL +0 -0
- {grasp_agents-0.4.3.dist-info → grasp_agents-0.4.4.dist-info}/licenses/LICENSE.md +0 -0
grasp_agents/processor.py
CHANGED
@@ -245,7 +245,9 @@ class Processor(AutoInstanceAttributesMixin, ABC, Generic[InT, OutT_co, MemT, Ct
|
|
245
245
|
run_id: str | None = None,
|
246
246
|
ctx: RunContext[CtxT] | None = None,
|
247
247
|
) -> Packet[OutT_co]:
|
248
|
-
if isinstance(in_args, Sequence)
|
248
|
+
if (in_args is not None and isinstance(in_args, Sequence)) or (
|
249
|
+
in_packet is not None and len(in_packet.payloads) > 1
|
250
|
+
):
|
249
251
|
return await self._run_par(
|
250
252
|
chat_inputs=chat_inputs,
|
251
253
|
in_packet=in_packet,
|
@@ -14,7 +14,7 @@ grasp_agents/memory.py,sha256=QSWjpGTn_t3XFKDxycWUCNFFueQcajzduQGU1vkJFWQ,720
|
|
14
14
|
grasp_agents/packet.py,sha256=PZ1EpclniAoLk7z4ieZbWzgYH3JSRgnlTe_WfbJYG_4,707
|
15
15
|
grasp_agents/packet_pool.py,sha256=F29EWkKM-305Qqf3hK9jriYXj4vgAx9iAWTg-hfZONs,3035
|
16
16
|
grasp_agents/printer.py,sha256=qxvdUFUu3E5WSjToI4hnXsN0FM8-oIy-pjAybS50oF8,5482
|
17
|
-
grasp_agents/processor.py,sha256=
|
17
|
+
grasp_agents/processor.py,sha256=WZ7ps3b3knBaGrMAjEaIBUlOV1L_Dh4H6BUOf4CGWF8,11209
|
18
18
|
grasp_agents/prompt_builder.py,sha256=wDcB1UaOH8vdxw1tmWZwVZS_bCdWU0VKQvHLpI8SnCk,7970
|
19
19
|
grasp_agents/run_context.py,sha256=pUi2a9WeHUg67cUTQ5T13mmJ3vzQfv-855fWLPeYRmo,1438
|
20
20
|
grasp_agents/usage_tracker.py,sha256=3gmgPcB7qHAl5W5Ffnmu_8GOcKBSv3xM1NLy-HMuSlo,3691
|
@@ -44,7 +44,7 @@ grasp_agents/workflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
44
44
|
grasp_agents/workflow/looped_workflow.py,sha256=eQkjCo6j3W5Xc7mw3AGmXpUhTkK2BmhrvCuht2UkZuI,4537
|
45
45
|
grasp_agents/workflow/sequential_workflow.py,sha256=UCHZXvTy47S0UG0WwuKp2G7Az6dAcE5tIFPaOXhxcWM,2347
|
46
46
|
grasp_agents/workflow/workflow_processor.py,sha256=lGW-Cy1QraU1AaCPVRs9-EtU5Z_3O3EAnuyIPzD6KQ8,3134
|
47
|
-
grasp_agents-0.4.
|
48
|
-
grasp_agents-0.4.
|
49
|
-
grasp_agents-0.4.
|
50
|
-
grasp_agents-0.4.
|
47
|
+
grasp_agents-0.4.4.dist-info/METADATA,sha256=t3yTj29JJi4h2CHsIWTyZVTuyLu_PKlSRlGWJ0QtuyM,6868
|
48
|
+
grasp_agents-0.4.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
49
|
+
grasp_agents-0.4.4.dist-info/licenses/LICENSE.md,sha256=-nNNdWqGB8gJ2O-peFQ2Irshv5tW5pHKyTcYkwvH7CE,1201
|
50
|
+
grasp_agents-0.4.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|