flock-core 0.4.0b28__py3-none-any.whl → 0.4.0b29__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 flock-core might be problematic. Click here for more details.

flock/core/flock_agent.py CHANGED
@@ -233,7 +233,7 @@ class FlockAgent(BaseModel, Serializable, DSPyIntegrationMixin, ABC):
233
233
  try:
234
234
  for module in self.get_enabled_modules():
235
235
  await module.on_terminate(
236
- self, inputs, result, self.context
236
+ self, inputs, self.context, result
237
237
  )
238
238
 
239
239
  if self.write_to_file:
@@ -255,7 +255,7 @@ class FlockAgent(BaseModel, Serializable, DSPyIntegrationMixin, ABC):
255
255
  span.set_attribute("inputs", str(inputs))
256
256
  try:
257
257
  for module in self.get_enabled_modules():
258
- await module.on_error(self, error, inputs, self.context)
258
+ await module.on_error(self, inputs, self.context, error)
259
259
  except Exception as module_error:
260
260
  logger.error(
261
261
  "Error during on_error",
@@ -315,7 +315,10 @@ class FlockAgent(BaseModel, Serializable, DSPyIntegrationMixin, ABC):
315
315
  current_result = result
316
316
  for module in self.get_enabled_modules():
317
317
  current_result = await module.on_post_evaluate(
318
- self, current_inputs, current_result, self.context
318
+ self,
319
+ current_inputs,
320
+ self.context,
321
+ current_result,
319
322
  )
320
323
 
321
324
  logger.debug(f"Evaluation completed for agent '{self.name}'")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flock-core
3
- Version: 0.4.0b28
3
+ Version: 0.4.0b29
4
4
  Summary: Declarative LLM Orchestration at Scale
5
5
  Author-email: Andre Ratzenberger <andre.ratzenberger@whiteduck.de>
6
6
  License-File: LICENSE
@@ -20,7 +20,7 @@ flock/cli/yaml_editor.py,sha256=K3N0bh61G1TSDAZDnurqW9e_-hO6CtSQKXQqlDhCjVo,1252
20
20
  flock/cli/assets/release_notes.md,sha256=bqnk50jxM3w5uY44Dc7MkdT8XmRREFxrVBAG9XCOSSU,4896
21
21
  flock/core/__init__.py,sha256=p7lmQULRu9ejIAELfanZiyMhW0CougIPvyFHW2nqBFQ,847
22
22
  flock/core/flock.py,sha256=_T_KAFePtEGDzfiFGV1HCdz7VHzj_U0cCquhAQ4xMAM,28199
23
- flock/core/flock_agent.py,sha256=nga2x75EBUworW8TMJLzC0BdPZtX2G8lqJyPy-ac484,39027
23
+ flock/core/flock_agent.py,sha256=lx_UO-yRiw5F0-pvPD-xCUEaPufk7K1GcaGlBwoQWT8,39088
24
24
  flock/core/flock_evaluator.py,sha256=dOXZeDOGZcAmJ9ahqq_2bdGUU1VOXY4skmwTVpAjiVw,1685
25
25
  flock/core/flock_factory.py,sha256=_4zsjkEmJnCR7IvJ3SUHnDbX6c7Tt3E4P5ohxwKvE6w,3173
26
26
  flock/core/flock_module.py,sha256=2MdAh-n0o4uw7jogvW9iHjVPUawUNN1oGor5ego3RLI,3057
@@ -444,8 +444,8 @@ flock/workflow/agent_execution_activity.py,sha256=Gy6FtuVAjf0NiUXmC3syS2eJpNQF4R
444
444
  flock/workflow/flock_workflow.py,sha256=iSUF_soFvWar0ffpkzE4irkDZRx0p4HnwmEBi_Ne2sY,9666
445
445
  flock/workflow/temporal_config.py,sha256=3_8O7SDEjMsSMXsWJBfnb6XTp0TFaz39uyzSlMTSF_I,3988
446
446
  flock/workflow/temporal_setup.py,sha256=YIHnSBntzOchHfMSh8hoLeNXrz3B1UbR14YrR6soM7A,1606
447
- flock_core-0.4.0b28.dist-info/METADATA,sha256=6gX5rmbMq9bFCCegflDpQ_RH6JZyZiyRDy4l6_rV0Xs,17125
448
- flock_core-0.4.0b28.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
449
- flock_core-0.4.0b28.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
450
- flock_core-0.4.0b28.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
451
- flock_core-0.4.0b28.dist-info/RECORD,,
447
+ flock_core-0.4.0b29.dist-info/METADATA,sha256=6KbUHrEYTRfkKY1SoGtH3LfFiIMtaYsVkgsGXPLjkTk,17125
448
+ flock_core-0.4.0b29.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
449
+ flock_core-0.4.0b29.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
450
+ flock_core-0.4.0b29.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
451
+ flock_core-0.4.0b29.dist-info/RECORD,,