quantalogic 0.55.0__py3-none-any.whl → 0.56.0__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.
quantalogic/flow/flow.py CHANGED
@@ -180,6 +180,9 @@ class WorkflowEngine:
180
180
  output_key = self.workflow.node_outputs[current_node]
181
181
  if output_key:
182
182
  self.context[output_key] = result
183
+ elif isinstance(result, dict): # Update context if node returns a dict and output is None
184
+ self.context.update(result)
185
+ logger.debug(f"Updated context with {result} from node {current_node}")
183
186
  await self._notify_observers(
184
187
  WorkflowEvent(
185
188
  event_type=WorkflowEventType.NODE_COMPLETED,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: quantalogic
3
- Version: 0.55.0
3
+ Version: 0.56.0
4
4
  Summary: QuantaLogic ReAct Agents
5
5
  Author: Raphaël MANSUY
6
6
  Author-email: raphael.mansuy@gmail.com
@@ -10,7 +10,7 @@ quantalogic/create_custom_agent.py,sha256=1ZMsbpQGHFueJJpfJIuYCWvR3LUsEtDYqDbr6O
10
10
  quantalogic/docs_cli.py,sha256=Ie6NwKQuxLKwVQ-cjhFMCttXeiHDjGhNY4hSmMtc0Qg,1664
11
11
  quantalogic/event_emitter.py,sha256=e_1r6hvx5GmW84iuRkoqcjpjRiYHBk4hzujd5ZoUC6U,16777
12
12
  quantalogic/flow/__init__.py,sha256=MD5FAdD6jnVnTPMIOmToKjFxHBQvLmOCT0VeaWhASBc,1295
13
- quantalogic/flow/flow.py,sha256=fiVkPeweG8rqV2xJG0ktbShCduPEwCCOtMkaGJzd5mg,37634
13
+ quantalogic/flow/flow.py,sha256=QC6U0MRjaAdViSfSGGOwcjYnsPB5FLzJfh7MfPGBrT4,37881
14
14
  quantalogic/flow/flow_extractor.py,sha256=GNmGOZH8zs4USHxCOURF0wiZtYqchZcscBX137DZuac,34275
15
15
  quantalogic/flow/flow_generator.py,sha256=6vBsl9wceJfCRKpib_SMl-QrMty3hYoH-IKpLgOEvO8,16041
16
16
  quantalogic/flow/flow_manager.py,sha256=WpwfpwkWDVr4KNDzG19gBveaqK2VQQjlqgEhnqOxGk0,28531
@@ -163,8 +163,8 @@ quantalogic/version_check.py,sha256=JyQFTNMDWtpHCLnN-BiakzB2cyXf6kUFsTjvmSruZi4,
163
163
  quantalogic/welcome_message.py,sha256=o4tHdgabNuIV9kbIDPgS3_2yzJhayK30oKad2UouYDc,3020
164
164
  quantalogic/xml_parser.py,sha256=bLLwIwO-VEHWF3heNS7nuPC8wgdYw9F_fVZZNW1figY,11728
165
165
  quantalogic/xml_tool_parser.py,sha256=hGHA1q20JUoTNTbZYmi4FTdA5I25-AGEIP8DwZgQCNA,3897
166
- quantalogic-0.55.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
167
- quantalogic-0.55.0.dist-info/METADATA,sha256=If4fsjhFdLpyENwJxME6BHTZcyWDPD7uhtPKuk2Uh-s,28783
168
- quantalogic-0.55.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
169
- quantalogic-0.55.0.dist-info/entry_points.txt,sha256=h74O_Q3qBRCrDR99qvwB4BpBGzASPUIjCfxHq6Qnups,183
170
- quantalogic-0.55.0.dist-info/RECORD,,
166
+ quantalogic-0.56.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
167
+ quantalogic-0.56.0.dist-info/METADATA,sha256=N1WD5PThI7ECEe0p8sxzj4n5nK0G7dFhsCxRnptflXo,28783
168
+ quantalogic-0.56.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
169
+ quantalogic-0.56.0.dist-info/entry_points.txt,sha256=h74O_Q3qBRCrDR99qvwB4BpBGzASPUIjCfxHq6Qnups,183
170
+ quantalogic-0.56.0.dist-info/RECORD,,