flock-core 0.5.6__py3-none-any.whl → 0.5.7__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/agent.py +8 -1
- {flock_core-0.5.6.dist-info → flock_core-0.5.7.dist-info}/METADATA +3 -3
- {flock_core-0.5.6.dist-info → flock_core-0.5.7.dist-info}/RECORD +6 -6
- {flock_core-0.5.6.dist-info → flock_core-0.5.7.dist-info}/WHEEL +0 -0
- {flock_core-0.5.6.dist-info → flock_core-0.5.7.dist-info}/entry_points.txt +0 -0
- {flock_core-0.5.6.dist-info → flock_core-0.5.7.dist-info}/licenses/LICENSE +0 -0
flock/agent.py
CHANGED
|
@@ -453,9 +453,16 @@ class Agent(metaclass=AutoTracedMeta):
|
|
|
453
453
|
for component in self._sorted_utilities():
|
|
454
454
|
comp_name = self._component_display_name(component)
|
|
455
455
|
priority = getattr(component, "priority", 0)
|
|
456
|
+
|
|
457
|
+
# Python 3.12+ TaskGroup raises BaseExceptionGroup - extract sub-exceptions
|
|
458
|
+
error_detail = str(error)
|
|
459
|
+
if isinstance(error, BaseExceptionGroup):
|
|
460
|
+
sub_exceptions = [f"{type(e).__name__}: {e}" for e in error.exceptions]
|
|
461
|
+
error_detail = f"{error!s} - Sub-exceptions: {sub_exceptions}"
|
|
462
|
+
|
|
456
463
|
logger.debug(
|
|
457
464
|
f"Agent error hook: agent={self.name}, component={comp_name}, "
|
|
458
|
-
f"priority={priority}, error={
|
|
465
|
+
f"priority={priority}, error={error_detail}"
|
|
459
466
|
)
|
|
460
467
|
try:
|
|
461
468
|
await component.on_error(self, ctx, error)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flock-core
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.7
|
|
4
4
|
Summary: Flock: A declrative framework for building and orchestrating AI agents.
|
|
5
5
|
Author-email: Andre Ratzenberger <andre.ratzenberger@whiteduck.de>
|
|
6
6
|
License: MIT
|
|
@@ -8,12 +8,12 @@ License-File: LICENSE
|
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
9
|
Requires-Dist: aiosqlite>=0.20.0
|
|
10
10
|
Requires-Dist: devtools>=0.12.2
|
|
11
|
-
Requires-Dist: dspy==3.0.
|
|
11
|
+
Requires-Dist: dspy==3.0.3
|
|
12
12
|
Requires-Dist: duckdb>=1.1.0
|
|
13
13
|
Requires-Dist: fastapi>=0.117.1
|
|
14
14
|
Requires-Dist: hanging-threads>=2.0.7
|
|
15
15
|
Requires-Dist: httpx>=0.28.1
|
|
16
|
-
Requires-Dist: litellm==1.
|
|
16
|
+
Requires-Dist: litellm==1.78.0
|
|
17
17
|
Requires-Dist: loguru>=0.7.3
|
|
18
18
|
Requires-Dist: mcp>=1.7.1
|
|
19
19
|
Requires-Dist: opentelemetry-api>=1.30.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
flock/__init__.py,sha256=fvp4ltfaAGmYliShuTY_XVIpOUN6bMXbWiBnwb1NBoM,310
|
|
2
|
-
flock/agent.py,sha256=
|
|
2
|
+
flock/agent.py,sha256=dcnFeNFCyTJSPKi-qHS4fQevLF_yBXCyIjQapxwki5U,48403
|
|
3
3
|
flock/artifact_collector.py,sha256=8rsg5NzmXeXKNT07TqX1_Z6aAGud2dXKzvS0jhjX3gQ,6372
|
|
4
4
|
flock/artifacts.py,sha256=3vQQ1J7QxTzeQBUGaNLiyojlmBv1NfdhFC98-qj8fpU,2541
|
|
5
5
|
flock/batch_accumulator.py,sha256=YcZSpdYMhm8wAGqKEF49NJ_Jl2HZX78NrJYqfyHqTuE,8003
|
|
@@ -530,8 +530,8 @@ flock/themes/zenburned.toml,sha256=UEmquBbcAO3Zj652XKUwCsNoC2iQSlIh-q5c6DH-7Kc,1
|
|
|
530
530
|
flock/themes/zenwritten-dark.toml,sha256=-dgaUfg1iCr5Dv4UEeHv_cN4GrPUCWAiHSxWK20X1kI,1663
|
|
531
531
|
flock/themes/zenwritten-light.toml,sha256=G1iEheCPfBNsMTGaVpEVpDzYBHA_T-MV27rolUYolmE,1666
|
|
532
532
|
flock/utility/output_utility_component.py,sha256=yVHhlIIIoYKziI5UyT_zvQb4G-NsxCTgLwA1wXXTTj4,9047
|
|
533
|
-
flock_core-0.5.
|
|
534
|
-
flock_core-0.5.
|
|
535
|
-
flock_core-0.5.
|
|
536
|
-
flock_core-0.5.
|
|
537
|
-
flock_core-0.5.
|
|
533
|
+
flock_core-0.5.7.dist-info/METADATA,sha256=LomwdwCsCLf0LoXVHDYugZxHY2qbkqFI3JpSarCRU2Y,41803
|
|
534
|
+
flock_core-0.5.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
535
|
+
flock_core-0.5.7.dist-info/entry_points.txt,sha256=UQdPmtHd97gSA_IdLt9MOd-1rrf_WO-qsQeIiHWVrp4,42
|
|
536
|
+
flock_core-0.5.7.dist-info/licenses/LICENSE,sha256=U3IZuTbC0yLj7huwJdldLBipSOHF4cPf6cUOodFiaBE,1072
|
|
537
|
+
flock_core-0.5.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|