pyagentic-core 2.12.1rc1__tar.gz → 2.12.3.dev1__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.12.1rc1/pyagentic_core.egg-info → pyagentic_core-2.12.3.dev1}/PKG-INFO +1 -1
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_agent/_agent.py +2 -23
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_metaclasses.py +8 -4
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1/pyagentic_core.egg-info}/PKG-INFO +1 -1
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic_core.egg-info/SOURCES.txt +2 -0
- pyagentic_core-2.12.3.dev1/pyagentic_core.egg-info/scm_file_list.json +132 -0
- pyagentic_core-2.12.3.dev1/pyagentic_core.egg-info/scm_version.json +8 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/.github/workflows/docs.yml +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/.github/workflows/release.yml +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/.github/workflows/testing.yml +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/.gitignore +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/CHANGELOG.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/LICENSE +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/README.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/agent-linking.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/api/creating-an-app.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/api/deploying.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/api/index.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/api/jobs.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/api/running.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/diagrams/declaration.svg +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/diagrams/instantiation.svg +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/diagrams/runtime.svg +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/diagrams/source/README.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/diagrams/source/declaration.d2 +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/diagrams/source/instantiation.d2 +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/diagrams/source/runtime.d2 +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/execution-modes.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/getting-started.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/images/langfuse.png +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/index.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/inheritance.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/observability.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/phases.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/policies.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/reference/architecture.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/reference/modules.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/responses.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/states.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/structured-output.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/tools.md +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/mkdocs.yml +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_agent/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_agent/_agent_linking.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_agent/_agent_state.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_depends.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_exceptions.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_info.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_mcp.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_ref.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_spec.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_state.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_tool.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_validation.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_utils/_typing.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_utils/_warnings.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_version_scheme.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/_app.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/_build.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/_config.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/_docker.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/_mcp_server.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/_models.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/_sessions.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/_models.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/_orchestrator.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/_routes.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/backends/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/backends/_base.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/backends/_in_process.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/store/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/store/_base.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/store/_sqlite.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/llm/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/llm/_anthropic.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/llm/_gemini.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/llm/_mock.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/llm/_openai.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/llm/_openaiv1.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/llm/_provider.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/logging.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/models/llm.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/models/response.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/models/tracing.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/policies/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/policies/_events.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/policies/_policy.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/tracing/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/tracing/_basic.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/tracing/_langfuse.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/tracing/_tracer.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/updates.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic_core.egg-info/dependency_links.txt +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic_core.egg-info/requires.txt +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic_core.egg-info/top_level.txt +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyproject.toml +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/setup.cfg +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/setup.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/test_agent.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/test_agent_inheritance.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/test_agent_linking.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/test_agent_provider.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/test_params.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/test_phases.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/test_state.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/test_tool.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/test_validator.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/jobs/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/jobs/test_orchestrator.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/jobs/test_routes.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/jobs/test_store_sqlite.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_app.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_build_agent.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_config.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_construct_model.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_dependencies_integration.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_docker.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_mcp_server.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_metaclass_models.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_router.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_sessions.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/conftest.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/models/test_responses.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/tracing/__init__.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/tracing/test_basic_tracer.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/tracing/test_models.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/tracing/test_tracer.py +0 -0
- {pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/uv.lock +0 -0
|
@@ -347,12 +347,10 @@ class BaseAgent(metaclass=AgentMeta):
|
|
|
347
347
|
self._mcp_connected = True
|
|
348
348
|
|
|
349
349
|
async def close(self):
|
|
350
|
-
"""Tear down all MCP client connections
|
|
350
|
+
"""Tear down all MCP client connections.
|
|
351
351
|
|
|
352
352
|
Should be called when the agent is no longer needed to clean up
|
|
353
|
-
any open connections or subprocesses.
|
|
354
|
-
MCP clients, so closing must recurse into them (single-use forks already
|
|
355
|
-
close themselves after each call; this covers shared/persistent links).
|
|
353
|
+
any open connections or subprocesses.
|
|
356
354
|
"""
|
|
357
355
|
for client in getattr(self, "_mcp_clients", {}).values():
|
|
358
356
|
try:
|
|
@@ -363,14 +361,6 @@ class BaseAgent(metaclass=AgentMeta):
|
|
|
363
361
|
self._mcp_tool_routing = {}
|
|
364
362
|
self._mcp_connected = False
|
|
365
363
|
|
|
366
|
-
for name in getattr(self, "__linked_agents__", {}):
|
|
367
|
-
linked = getattr(self, name, None)
|
|
368
|
-
if isinstance(linked, BaseAgent):
|
|
369
|
-
try:
|
|
370
|
-
await linked.close()
|
|
371
|
-
except Exception:
|
|
372
|
-
pass
|
|
373
|
-
|
|
374
364
|
def __post_init__(self):
|
|
375
365
|
"""
|
|
376
366
|
Post-initialization hook called after agent instance is created.
|
|
@@ -550,17 +540,6 @@ class BaseAgent(metaclass=AgentMeta):
|
|
|
550
540
|
self.tracer.record_exception(str(e))
|
|
551
541
|
result = f"Agent `{tool_call.name}` failed: {e}. Please kindly state to the user that is failed, provide state, and ask if they want to try again." # noqa E501
|
|
552
542
|
response = ErrorResponse(name=tool_call.name, kind="agent", error=result)
|
|
553
|
-
finally:
|
|
554
|
-
# A fork is single-use: tear down any MCP subprocesses it opened, in
|
|
555
|
-
# this same task (anyio forbids exiting an MCP client in a different
|
|
556
|
-
# task than it was entered, and this coroutine is where the fork's
|
|
557
|
-
# clients were connected). Shared agents persist and are closed by the
|
|
558
|
-
# owning agent's close().
|
|
559
|
-
if not shared:
|
|
560
|
-
try:
|
|
561
|
-
await agent.close()
|
|
562
|
-
except Exception:
|
|
563
|
-
pass
|
|
564
543
|
|
|
565
544
|
# Add agent result to conversation history
|
|
566
545
|
stringified_result = (
|
|
@@ -19,7 +19,7 @@ from pyagentic._base._agent._agent_linking import Link, _LinkedAgentDefinition
|
|
|
19
19
|
from pyagentic._base._depends import Depends
|
|
20
20
|
from pyagentic._base._mcp import MCPLink, _MCPDefinition
|
|
21
21
|
|
|
22
|
-
from pyagentic.models.response import AgentResponse, ToolResponse
|
|
22
|
+
from pyagentic.models.response import AgentResponse, ErrorResponse, ToolResponse
|
|
23
23
|
from pyagentic.models.llm import LLMResponse
|
|
24
24
|
|
|
25
25
|
from pyagentic._utils._typing import analyze_type
|
|
@@ -472,11 +472,15 @@ class AgentMeta(type):
|
|
|
472
472
|
data=(LLMResponse, ...),
|
|
473
473
|
)
|
|
474
474
|
|
|
475
|
-
# Tool response event — typed to the exact tool response variants
|
|
475
|
+
# Tool response event — typed to the exact tool response variants, plus the
|
|
476
|
+
# base ToolResponse so runtime-discovered (MCP) tool results validate and
|
|
477
|
+
# ErrorResponse so a failed tool call validates. Mirrors the union built by
|
|
478
|
+
# AgentResponse.from_agent_class; without it, an MCP tool result (a base
|
|
479
|
+
# ToolResponse) fails validation when wrapped as a ToolEvent in the jobs backend.
|
|
476
480
|
if tool_response_models:
|
|
477
|
-
ToolData = Union[tuple(tool_response_models)]
|
|
481
|
+
ToolData = Union[tuple([*tool_response_models, ToolResponse, ErrorResponse])]
|
|
478
482
|
else:
|
|
479
|
-
ToolData = ToolResponse
|
|
483
|
+
ToolData = Union[ToolResponse, ErrorResponse]
|
|
480
484
|
ToolEvent = create_model(
|
|
481
485
|
f"{agent_name}ToolEvent",
|
|
482
486
|
event=(Literal["tool_response"], "tool_response"),
|
|
@@ -98,6 +98,8 @@ pyagentic_core.egg-info/PKG-INFO
|
|
|
98
98
|
pyagentic_core.egg-info/SOURCES.txt
|
|
99
99
|
pyagentic_core.egg-info/dependency_links.txt
|
|
100
100
|
pyagentic_core.egg-info/requires.txt
|
|
101
|
+
pyagentic_core.egg-info/scm_file_list.json
|
|
102
|
+
pyagentic_core.egg-info/scm_version.json
|
|
101
103
|
pyagentic_core.egg-info/top_level.txt
|
|
102
104
|
tests/__init__.py
|
|
103
105
|
tests/conftest.py
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"files": [
|
|
3
|
+
"README.md",
|
|
4
|
+
"uv.lock",
|
|
5
|
+
"LICENSE",
|
|
6
|
+
"setup.py",
|
|
7
|
+
"pyproject.toml",
|
|
8
|
+
"mkdocs.yml",
|
|
9
|
+
"CHANGELOG.md",
|
|
10
|
+
".gitignore",
|
|
11
|
+
"docs/phases.md",
|
|
12
|
+
"docs/getting-started.md",
|
|
13
|
+
"docs/responses.md",
|
|
14
|
+
"docs/observability.md",
|
|
15
|
+
"docs/states.md",
|
|
16
|
+
"docs/policies.md",
|
|
17
|
+
"docs/tools.md",
|
|
18
|
+
"docs/execution-modes.md",
|
|
19
|
+
"docs/structured-output.md",
|
|
20
|
+
"docs/agent-linking.md",
|
|
21
|
+
"docs/index.md",
|
|
22
|
+
"docs/inheritance.md",
|
|
23
|
+
"docs/diagrams/runtime.svg",
|
|
24
|
+
"docs/diagrams/declaration.svg",
|
|
25
|
+
"docs/diagrams/instantiation.svg",
|
|
26
|
+
"docs/diagrams/source/README.md",
|
|
27
|
+
"docs/diagrams/source/runtime.d2",
|
|
28
|
+
"docs/diagrams/source/instantiation.d2",
|
|
29
|
+
"docs/diagrams/source/declaration.d2",
|
|
30
|
+
"docs/api/jobs.md",
|
|
31
|
+
"docs/api/running.md",
|
|
32
|
+
"docs/api/creating-an-app.md",
|
|
33
|
+
"docs/api/index.md",
|
|
34
|
+
"docs/api/deploying.md",
|
|
35
|
+
"docs/images/langfuse.png",
|
|
36
|
+
"docs/reference/modules.md",
|
|
37
|
+
"docs/reference/architecture.md",
|
|
38
|
+
"tests/__init__.py",
|
|
39
|
+
"tests/conftest.py",
|
|
40
|
+
"tests/api/test_metaclass_models.py",
|
|
41
|
+
"tests/api/test_config.py",
|
|
42
|
+
"tests/api/__init__.py",
|
|
43
|
+
"tests/api/test_sessions.py",
|
|
44
|
+
"tests/api/test_dependencies_integration.py",
|
|
45
|
+
"tests/api/test_mcp_server.py",
|
|
46
|
+
"tests/api/test_router.py",
|
|
47
|
+
"tests/api/test_construct_model.py",
|
|
48
|
+
"tests/api/test_build_agent.py",
|
|
49
|
+
"tests/api/test_docker.py",
|
|
50
|
+
"tests/api/test_app.py",
|
|
51
|
+
"tests/api/jobs/__init__.py",
|
|
52
|
+
"tests/api/jobs/test_store_sqlite.py",
|
|
53
|
+
"tests/api/jobs/test_orchestrator.py",
|
|
54
|
+
"tests/api/jobs/test_routes.py",
|
|
55
|
+
"tests/models/test_responses.py",
|
|
56
|
+
"tests/tracing/test_models.py",
|
|
57
|
+
"tests/tracing/__init__.py",
|
|
58
|
+
"tests/tracing/test_tracer.py",
|
|
59
|
+
"tests/tracing/test_basic_tracer.py",
|
|
60
|
+
"tests/_base/test_agent_linking.py",
|
|
61
|
+
"tests/_base/test_phases.py",
|
|
62
|
+
"tests/_base/test_agent.py",
|
|
63
|
+
"tests/_base/test_tool.py",
|
|
64
|
+
"tests/_base/__init__.py",
|
|
65
|
+
"tests/_base/test_agent_inheritance.py",
|
|
66
|
+
"tests/_base/test_validator.py",
|
|
67
|
+
"tests/_base/test_params.py",
|
|
68
|
+
"tests/_base/test_state.py",
|
|
69
|
+
"tests/_base/test_agent_provider.py",
|
|
70
|
+
"pyagentic/__init__.py",
|
|
71
|
+
"pyagentic/updates.py",
|
|
72
|
+
"pyagentic/_version_scheme.py",
|
|
73
|
+
"pyagentic/logging.py",
|
|
74
|
+
"pyagentic/policies/_policy.py",
|
|
75
|
+
"pyagentic/policies/__init__.py",
|
|
76
|
+
"pyagentic/policies/_events.py",
|
|
77
|
+
"pyagentic/api/__init__.py",
|
|
78
|
+
"pyagentic/api/_sessions.py",
|
|
79
|
+
"pyagentic/api/_app.py",
|
|
80
|
+
"pyagentic/api/_docker.py",
|
|
81
|
+
"pyagentic/api/_config.py",
|
|
82
|
+
"pyagentic/api/_mcp_server.py",
|
|
83
|
+
"pyagentic/api/_models.py",
|
|
84
|
+
"pyagentic/api/_build.py",
|
|
85
|
+
"pyagentic/api/jobs/__init__.py",
|
|
86
|
+
"pyagentic/api/jobs/_models.py",
|
|
87
|
+
"pyagentic/api/jobs/_routes.py",
|
|
88
|
+
"pyagentic/api/jobs/_orchestrator.py",
|
|
89
|
+
"pyagentic/api/jobs/store/_base.py",
|
|
90
|
+
"pyagentic/api/jobs/store/__init__.py",
|
|
91
|
+
"pyagentic/api/jobs/store/_sqlite.py",
|
|
92
|
+
"pyagentic/api/jobs/backends/_base.py",
|
|
93
|
+
"pyagentic/api/jobs/backends/__init__.py",
|
|
94
|
+
"pyagentic/api/jobs/backends/_in_process.py",
|
|
95
|
+
"pyagentic/models/response.py",
|
|
96
|
+
"pyagentic/models/llm.py",
|
|
97
|
+
"pyagentic/models/tracing.py",
|
|
98
|
+
"pyagentic/llm/_mock.py",
|
|
99
|
+
"pyagentic/llm/__init__.py",
|
|
100
|
+
"pyagentic/llm/_anthropic.py",
|
|
101
|
+
"pyagentic/llm/_openaiv1.py",
|
|
102
|
+
"pyagentic/llm/_openai.py",
|
|
103
|
+
"pyagentic/llm/_gemini.py",
|
|
104
|
+
"pyagentic/llm/_provider.py",
|
|
105
|
+
"pyagentic/tracing/__init__.py",
|
|
106
|
+
"pyagentic/tracing/_basic.py",
|
|
107
|
+
"pyagentic/tracing/_langfuse.py",
|
|
108
|
+
"pyagentic/tracing/_tracer.py",
|
|
109
|
+
"pyagentic/_utils/_warnings.py",
|
|
110
|
+
"pyagentic/_utils/_typing.py",
|
|
111
|
+
"pyagentic/_base/_mcp.py",
|
|
112
|
+
"pyagentic/_base/__init__.py",
|
|
113
|
+
"pyagentic/_base/_metaclasses.py",
|
|
114
|
+
"pyagentic/_base/_tool.py",
|
|
115
|
+
"pyagentic/_base/_info.py",
|
|
116
|
+
"pyagentic/_base/_spec.py",
|
|
117
|
+
"pyagentic/_base/_state.py",
|
|
118
|
+
"pyagentic/_base/_exceptions.py",
|
|
119
|
+
"pyagentic/_base/_ref.py",
|
|
120
|
+
"pyagentic/_base/_validation.py",
|
|
121
|
+
"pyagentic/_base/_depends.py",
|
|
122
|
+
"pyagentic/_base/_agent/__init__.py",
|
|
123
|
+
"pyagentic/_base/_agent/_agent_state.py",
|
|
124
|
+
"pyagentic/_base/_agent/_agent_linking.py",
|
|
125
|
+
"pyagentic/_base/_agent/_agent.py",
|
|
126
|
+
".github/ISSUE_TEMPLATE/bug_report.md",
|
|
127
|
+
".github/ISSUE_TEMPLATE/feature_request.md",
|
|
128
|
+
".github/workflows/release.yml",
|
|
129
|
+
".github/workflows/testing.yml",
|
|
130
|
+
".github/workflows/docs.yml"
|
|
131
|
+
]
|
|
132
|
+
}
|
{pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/.github/ISSUE_TEMPLATE/bug_report.md
RENAMED
|
File without changes
|
{pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/.github/ISSUE_TEMPLATE/feature_request.md
RENAMED
|
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.12.1rc1 → pyagentic_core-2.12.3.dev1}/docs/diagrams/source/instantiation.d2
RENAMED
|
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.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_agent/_agent_linking.py
RENAMED
|
File without changes
|
{pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/_base/_agent/_agent_state.py
RENAMED
|
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.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/backends/__init__.py
RENAMED
|
File without changes
|
{pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/backends/_base.py
RENAMED
|
File without changes
|
{pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/backends/_in_process.py
RENAMED
|
File without changes
|
{pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic/api/jobs/store/__init__.py
RENAMED
|
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.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic_core.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic_core.egg-info/requires.txt
RENAMED
|
File without changes
|
{pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/pyagentic_core.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyagentic_core-2.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/_base/test_agent_inheritance.py
RENAMED
|
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.12.1rc1 → pyagentic_core-2.12.3.dev1}/tests/api/test_dependencies_integration.py
RENAMED
|
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
|