pyagentic-core 2.2.1a2__tar.gz → 2.2.2__tar.gz
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.
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/PKG-INFO +1 -1
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_agent/_agent_state.py +3 -3
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic_core.egg-info/PKG-INFO +1 -1
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyproject.toml +1 -1
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/LICENSE +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/README.md +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/__init__.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/__init__.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_agent/__init__.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_agent/_agent.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_agent/_agent_linking.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_exceptions.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_info.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_metaclasses.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_ref.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_spec.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_state.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_tool.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_base/_validation.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_utils/_typing.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/_utils/_warnings.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/llm/__init__.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/llm/_anthropic.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/llm/_gemini.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/llm/_mock.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/llm/_openai.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/llm/_openaiv1.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/llm/_provider.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/logging.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/models/llm.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/models/response.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/models/tracing.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/policies/__init__.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/policies/_events.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/policies/_policy.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/tracing/__init__.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/tracing/_basic.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/tracing/_langfuse.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/tracing/_tracer.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic/updates.py +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic_core.egg-info/SOURCES.txt +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic_core.egg-info/dependency_links.txt +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic_core.egg-info/requires.txt +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic_core.egg-info/top_level.txt +0 -0
- {pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/setup.cfg +0 -0
|
@@ -60,10 +60,10 @@ class _AgentState(BaseModel):
|
|
|
60
60
|
self._machine = machine
|
|
61
61
|
|
|
62
62
|
def _update_state_machine(self, phases):
|
|
63
|
-
for
|
|
63
|
+
for source, dest, condition in phases:
|
|
64
64
|
with self._state_lock:
|
|
65
|
-
if condition(self) and self.phase ==
|
|
66
|
-
trigger = f"{
|
|
65
|
+
if condition(self) and self.phase == source:
|
|
66
|
+
trigger = f"{source}_to_{dest}"
|
|
67
67
|
getattr(self._machine, trigger)()
|
|
68
68
|
|
|
69
69
|
def model_post_init(self, state):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyagentic_core-2.2.1a2 → pyagentic_core-2.2.2}/pyagentic_core.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|