aury-agent 0.0.11__py3-none-any.whl → 0.0.12__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.
- aury/agents/core/base.py +7 -0
- {aury_agent-0.0.11.dist-info → aury_agent-0.0.12.dist-info}/METADATA +1 -1
- {aury_agent-0.0.11.dist-info → aury_agent-0.0.12.dist-info}/RECORD +5 -5
- {aury_agent-0.0.11.dist-info → aury_agent-0.0.12.dist-info}/WHEEL +0 -0
- {aury_agent-0.0.11.dist-info → aury_agent-0.0.12.dist-info}/entry_points.txt +0 -0
aury/agents/core/base.py
CHANGED
|
@@ -352,6 +352,13 @@ class BaseAgent(ABC):
|
|
|
352
352
|
logger.error(f"{self.agent_type}Agent run error, error={type(e).__name__}, invocation_id={self._ctx.invocation_id}", exc_info=True)
|
|
353
353
|
raise
|
|
354
354
|
finally:
|
|
355
|
+
# Cancel exec_task if still running (e.g., when run() is cancelled externally)
|
|
356
|
+
if exec_task and not exec_task.done():
|
|
357
|
+
exec_task.cancel()
|
|
358
|
+
try:
|
|
359
|
+
await exec_task
|
|
360
|
+
except asyncio.CancelledError:
|
|
361
|
+
pass
|
|
355
362
|
_reset_current_ctx(ctx_token)
|
|
356
363
|
_emit_queue_var.reset(queue_token)
|
|
357
364
|
self._run_config = {} # Clear runtime overrides
|
|
@@ -55,7 +55,7 @@ aury/agents/context_providers/skill.py,sha256=w_R1txvu45ruMjuOtckuD9oG_hqeFGqAa_
|
|
|
55
55
|
aury/agents/context_providers/subagent.py,sha256=Y-6bYjaq6nbLS9d3siyy5eAt6SzFfk6N3Y1WU209lhI,1364
|
|
56
56
|
aury/agents/context_providers/tool.py,sha256=wQGmcZi_XuB9ukweg5PUVO93GLzley0xftje-iVSfq8,2266
|
|
57
57
|
aury/agents/core/__init__.py,sha256=-euIGAwoe2gU_2xEqJ8YmOMnDOaOlgWXwXxzIQnDG8E,1716
|
|
58
|
-
aury/agents/core/base.py,sha256=
|
|
58
|
+
aury/agents/core/base.py,sha256=1QgPe50DGajBgRhd8HFrzLaRAqkYioGpvU_ARwtV2DQ,21585
|
|
59
59
|
aury/agents/core/context.py,sha256=co_v6Mz7fYR0jaTlUHlnSBWaOgr_1_84lVO0FPo_tKo,28932
|
|
60
60
|
aury/agents/core/context_builder.py,sha256=HF0hfnKBVCmlcFDmdyj53org90318ixmZl1LYQBl0fM,9075
|
|
61
61
|
aury/agents/core/factory.py,sha256=8rx_2jD9Sj2tK-8_We09fHT1czjbN-yF1ws0hmUX2w4,6829
|
|
@@ -147,7 +147,7 @@ aury/agents/workflow/expression.py,sha256=Hsx2jBigtt5zbJb9uK9pveipqMbBBUUAvlgYjB
|
|
|
147
147
|
aury/agents/workflow/parser.py,sha256=mfiFZ_TtFq3IxAqPlTGcNkluiZ8ww16y3NYwbmbsrwE,6149
|
|
148
148
|
aury/agents/workflow/state.py,sha256=AxTSo7P9b1DbWjGdQdzFY4_7m6CJGNFo7xkGK28SPZw,4234
|
|
149
149
|
aury/agents/workflow/types.py,sha256=PVvjTQRgTObx5Mq_lXFogyLjGChOi5pUgcJwF5ZzVtg,2354
|
|
150
|
-
aury_agent-0.0.
|
|
151
|
-
aury_agent-0.0.
|
|
152
|
-
aury_agent-0.0.
|
|
153
|
-
aury_agent-0.0.
|
|
150
|
+
aury_agent-0.0.12.dist-info/METADATA,sha256=FNI9HTb1CwWuXKdPxWGcHD2PCu8V3QIogdr126INtvU,2115
|
|
151
|
+
aury_agent-0.0.12.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
152
|
+
aury_agent-0.0.12.dist-info/entry_points.txt,sha256=7EC5SMAKdC9HZLG8RfPhGno4OKOeSjaGsOWi1gOL-K8,56
|
|
153
|
+
aury_agent-0.0.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|