flock-core 0.4.0b11__py3-none-any.whl → 0.4.0b12__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.

@@ -145,6 +145,66 @@ class FlockSerializer:
145
145
  )
146
146
  )
147
147
 
148
+ # Description (Callables)
149
+ if agent_data.get("description_callable"):
150
+ logger.debug(
151
+ f"Adding description callable '{agent_data['description_callable']}' from agent '{name}'"
152
+ )
153
+ description_callable_name = agent_data[
154
+ "description_callable"
155
+ ]
156
+ description_callable = agent_instance.description
157
+ path_str = FlockRegistry.get_callable_path_string(
158
+ description_callable
159
+ )
160
+ if path_str:
161
+ logger.debug(
162
+ f"Adding description callable '{description_callable_name}' (from path '{path_str}') to components"
163
+ )
164
+ components[description_callable_name] = (
165
+ FlockSerializer._get_callable_definition(
166
+ path_str, description_callable_name, path_type
167
+ )
168
+ )
169
+
170
+ if agent_data.get("input_callable"):
171
+ logger.debug(
172
+ f"Adding input callable '{agent_data['input_callable']}' from agent '{name}'"
173
+ )
174
+ input_callable_name = agent_data["input_callable"]
175
+ input_callable = agent_instance.input
176
+ path_str = FlockRegistry.get_callable_path_string(
177
+ input_callable
178
+ )
179
+ if path_str:
180
+ logger.debug(
181
+ f"Adding input callable '{input_callable_name}' (from path '{path_str}') to components"
182
+ )
183
+ components[input_callable_name] = (
184
+ FlockSerializer._get_callable_definition(
185
+ path_str, input_callable_name, path_type
186
+ )
187
+ )
188
+
189
+ if agent_data.get("output_callable"):
190
+ logger.debug(
191
+ f"Adding output callable '{agent_data['output_callable']}' from agent '{name}'"
192
+ )
193
+ output_callable_name = agent_data["output_callable"]
194
+ output_callable = agent_instance.output
195
+ path_str = FlockRegistry.get_callable_path_string(
196
+ output_callable
197
+ )
198
+ if path_str:
199
+ logger.debug(
200
+ f"Adding output callable '{output_callable_name}' (from path '{path_str}') to components"
201
+ )
202
+ components[output_callable_name] = (
203
+ FlockSerializer._get_callable_definition(
204
+ path_str, output_callable_name, path_type
205
+ )
206
+ )
207
+
148
208
  # Tools (Callables)
149
209
  if agent_data.get("tools"):
150
210
  logger.debug(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flock-core
3
- Version: 0.4.0b11
3
+ Version: 0.4.0b12
4
4
  Summary: Declarative LLM Orchestration at Scale
5
5
  Author-email: Andre Ratzenberger <andre.ratzenberger@whiteduck.de>
6
6
  License-File: LICENSE
@@ -59,7 +59,7 @@ flock/core/mixin/dspy_integration.py,sha256=vlf6rJnR9EsfZi5KyFLEXIbUvhpBhodctn-m
59
59
  flock/core/mixin/prompt_parser.py,sha256=eOqI-FK3y17gVqpc_y5GF-WmK1Jv8mFlkZxTcgweoxI,5121
60
60
  flock/core/serialization/__init__.py,sha256=CML7fPgG6p4c0CDBlJ_uwV1aZZhJKK9uy3IoIHfO87w,431
61
61
  flock/core/serialization/callable_registry.py,sha256=sUZECTZWsM3fJ8FDRQ-FgLNW9hF26nY17AD6fJKADMc,1419
62
- flock/core/serialization/flock_serializer.py,sha256=EcDpw-OdkDied80UMXnWYOU0A8PrTQlZ7JRNK2YQ9Tg,30041
62
+ flock/core/serialization/flock_serializer.py,sha256=TEePKaJqU-_XWHTMWyMHloDNwmkKyOUSfXoJ7ZVki8k,33048
63
63
  flock/core/serialization/json_encoder.py,sha256=gAKj2zU_8wQiNvdkby2hksSA4fbPNwTjup_yz1Le1Vw,1229
64
64
  flock/core/serialization/secure_serializer.py,sha256=n5-zRvvXddgJv1FFHsaQ2wuYdL3WUSGPvG_LGaffEJo,6144
65
65
  flock/core/serialization/serializable.py,sha256=qlv8TsTqRuklXiNuCMrvro5VKz764xC2i3FlgLJSkdk,12129
@@ -439,8 +439,8 @@ flock/workflow/activities.py,sha256=eVZDnxGJl_quNO-UTV3YgvTV8LrRaHN3QDAA1ANKzac,
439
439
  flock/workflow/agent_activities.py,sha256=NhBZscflEf2IMfSRa_pBM_TRP7uVEF_O0ROvWZ33eDc,963
440
440
  flock/workflow/temporal_setup.py,sha256=VWBgmBgfTBjwM5ruS_dVpA5AVxx6EZ7oFPGw4j3m0l0,1091
441
441
  flock/workflow/workflow.py,sha256=I9MryXW_bqYVTHx-nl2epbTqeRy27CAWHHA7ZZA0nAk,1696
442
- flock_core-0.4.0b11.dist-info/METADATA,sha256=SBfnjjaedd-MZ5XRQCxC0Mgmm0k1uhVRWjZGGE-UDnY,21101
443
- flock_core-0.4.0b11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
444
- flock_core-0.4.0b11.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
445
- flock_core-0.4.0b11.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
446
- flock_core-0.4.0b11.dist-info/RECORD,,
442
+ flock_core-0.4.0b12.dist-info/METADATA,sha256=obK1R3a6NGzJAof5joz30ccvBDQl1HDA4Sqrgl3EcWc,21101
443
+ flock_core-0.4.0b12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
444
+ flock_core-0.4.0b12.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
445
+ flock_core-0.4.0b12.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
446
+ flock_core-0.4.0b12.dist-info/RECORD,,