aiecs 2.2.0__tar.gz → 2.2.1__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.
- {aiecs-2.2.0/aiecs.egg-info → aiecs-2.2.1}/PKG-INFO +1 -1
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/__init__.py +1 -1
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/graphiti/llm_adapter.py +50 -18
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/googleai_client.py +5 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/vertex_client.py +5 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/main.py +2 -2
- {aiecs-2.2.0 → aiecs-2.2.1/aiecs.egg-info}/PKG-INFO +1 -1
- {aiecs-2.2.0 → aiecs-2.2.1}/pyproject.toml +2 -2
- {aiecs-2.2.0 → aiecs-2.2.1}/LICENSE +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/LICENSE_HEADER.txt +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/MANIFEST.in +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/README.md +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/__main__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/aiecs_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/application/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/application/executors/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/application/executors/operation_executor.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/common/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/config/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/config/config.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/config/skills_config.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/config/tool_config.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/core/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/core/interface/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/core/interface/execution_interface.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/core/interface/storage_interface.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/core/registry/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/core/registry/service_registry.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/base_agent.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/exceptions.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/goal_graph.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/hybrid_agent.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/integration/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/integration/context_compressor.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/integration/context_engine_adapter.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/integration/protocols.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/integration/retry_policy.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/integration/role_config.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/lifecycle.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/llm_agent.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/loop_detection.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/memory/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/memory/conversation.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/migration/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/migration/conversion.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/migration/legacy_wrapper.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/observability.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/persistence.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/base.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/collaboration_plugin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/dawp_plugin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/hook_plugin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/knowledge_plugin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/memory_plugin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/skill_plugin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/temporal_memory_plugin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/tool_plugin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/tools/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/builtin/tools/dawp_start_tool.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/context.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/budget.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/completion.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/document_loader.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/document_path_policy.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/enqueue_guard.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/inject.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/loop_scope.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/metrics.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/prompt_chain_runner.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/run_scheduler.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/schema.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/step_handlers.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/step_handoff.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/stream_consumer.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/suppress.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/temp_store.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/temporal_memory_context.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/tools_filter.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/dawp/workflow_registry.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/defaults.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/errors.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/bridge_compression.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/dispatch.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/events.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/executor.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/gvr_blocking.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/loader.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/notifications.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/payload.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/permission.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/prompt_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/registry.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/schemas.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/task_boundary.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/tool_dispatch.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/hooks/types.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/identifier.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/manifest_loader.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/protocols.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/registry.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/schema/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/schema/dependency.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/schema/manifest.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/schema/validation.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/testing/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/testing/capture.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/testing/normalize.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/plugins/testing/parity.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/prompts/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/prompts/builder.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/prompts/formatters.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/prompts/template.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/registry.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/search_burst_guard.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/builtin/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/builtin/api-integration/examples/api-client-example.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/builtin/data-analysis/examples/analysis-example.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/builtin/data-analysis/scripts/validate-data.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/builtin/python-coding/examples/code-patterns.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/context.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/discovery.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/executor.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/loader.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/matcher.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/mixin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/registry.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/validator.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/tool_agent.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/tool_loop_core.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/tool_result_matcher.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/tools/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/tools/models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/tools/registry.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/tools/schema_generator.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/context_builder.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/criteria.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/cwe_verifier.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/cwe_verifier_policy_models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/dawp_result.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/gates/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/gates/citation_url_gate.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/gates/conversion.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/gates/gate_criterion.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/gates/models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/gates/protocol.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/gates/registry.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/gates/spec_gate.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/gvr_checkpoints.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/peer_review.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/peer_review_policy_models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/policy_models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/policy_runner.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/read_only_verifier.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/review_refinement.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/verification/verifier.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/agent_adapter.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/analytics.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/collaborative_workflow.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/communication_hub.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/community_builder.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/community_integration.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/community_manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/decision_engine.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/exceptions.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/models/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/models/community_models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/resource_manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/community/shared_context_manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/adapters/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/adapters/conversation_message.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/adapters/llm_message.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/collapse.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/constants.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/gvr_preserve.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/hooks.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/images.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/legacy.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/llm_compact.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/metadata.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/microcompact.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/orchestrator.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/pairs.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/policy.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/policy_resolver.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/progress.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/ptl.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/result.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/session_memory.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/state.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/tokens.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/tool_budget.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/truncation.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/compression/types.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/context_engine.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/context/conversation_models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/execution/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/execution/model.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/memory/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/memory/models.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/memory/unified_retriever.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/task/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/task/dsl_processor.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/task/model.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/task/task_context.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/constants.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/engine.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/episode_bridge.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/group_id.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/models/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/models/episode.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/models/fact.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/pii.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/ports.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/temporal_memory/search_cache.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/host/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/host/compression/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/host/compression/config.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/host/compression/l2_mc_adapter.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/host/compression/progress_bridge.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/host/compression/s3_tool_artifact_port.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/host/compression/transcript_compact.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/host/hooks/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/host/hooks/sse_bridge.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/knowledge/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/knowledge/graph_store_factory.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/knowledge/graph_store_protocol.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/knowledge/noop_graph_store.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/messaging/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/messaging/celery_task_manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/messaging/websocket_manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/monitoring/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/monitoring/executor_metrics.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/monitoring/global_metrics_manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/monitoring/structured_logger.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/monitoring/tracing_manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/persistence/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/persistence/clickhouse_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/persistence/clickhouse_permanent_backend.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/persistence/context_engine_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/persistence/database_manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/persistence/file_storage.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/persistence/permanent_backend_factory.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/persistence/permanent_backend_utils.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/persistence/postgres_permanent_backend.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/persistence/redis_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/graphiti/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/graphiti/search_filters.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/graphiti/store.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/ingest_queue.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/metrics.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/noop_store.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/postgres/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/postgres/store.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/infrastructure/temporal_memory/store_factory.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/callbacks/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/callbacks/custom_callbacks.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/client_factory.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/client_resolver.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/anthropic_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/base_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/google_function_calling_mixin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/openai_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/openai_compatible_mixin.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/openrouter_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/schemas.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/vertex_maas_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/clients/xai_client.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/config/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/config/config_loader.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/config/config_validator.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/config/model_config.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/protocols.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/utils/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/utils/gcp_credentials.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/utils/image_utils.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/llm/utils/validate_config.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/aid/VERSION_MANAGEMENT.md +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/aid/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/aid/module_checker.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/aid/version_manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/dependance_patch/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/dependance_patch/fix_weasel/README_WEASEL_PATCH.md +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/dependance_patch/fix_weasel/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/dependance_patch/fix_weasel/fix_weasel_validator.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/dependance_patch/fix_weasel/fix_weasel_validator.sh +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/dependance_patch/fix_weasel/patch_weasel_library.sh +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/dependance_patch/fix_weasel/run_weasel_patch.sh +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/scripts/migrations/multi_tenancy/README.md +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tasks/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tasks/worker.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/_builtin_tool_deprecation.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/base_tool.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/schema_generator.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/analyzers.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/backends/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/backends/_resilience_factory.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/backends/async_bridge.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/backends/credentials.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/backends/gemini_grounding.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/backends/google_cse.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/backends/grok_grounding.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/backends/protocol.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/backends/registry.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/cache.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/cache_fingerprint.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/constants.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/context.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/core.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/deduplicator.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/error_handler.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/errors.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/metrics.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/normalizer.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/partition.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/rate_limiter.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/resilience.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/router.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/search_tool/schemas.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/task_tools/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/task_tools/image_tool.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/temp_file_manager.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/tool_executor/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/tools/tool_executor/tool_executor.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/utils/LLM_output_structor.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/utils/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/utils/base_callback.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/utils/cache_provider.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/utils/execution_utils.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/utils/logging.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/utils/prompt_loader.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/utils/token_usage_repository.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/ws/__init__.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs/ws/socket_server.py +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs.egg-info/SOURCES.txt +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs.egg-info/dependency_links.txt +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs.egg-info/entry_points.txt +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs.egg-info/requires.txt +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/aiecs.egg-info/top_level.txt +0 -0
- {aiecs-2.2.0 → aiecs-2.2.1}/setup.cfg +0 -0
|
@@ -9,7 +9,7 @@ A powerful Python middleware framework for building AI-powered applications
|
|
|
9
9
|
with tool orchestration, task execution, and multi-provider LLM support.
|
|
10
10
|
"""
|
|
11
11
|
|
|
12
|
-
__version__ = "2.2.
|
|
12
|
+
__version__ = "2.2.1"
|
|
13
13
|
__author__ = "AIECS Team"
|
|
14
14
|
__email__ = "iretbl@gmail.com"
|
|
15
15
|
|
|
@@ -100,27 +100,59 @@ def _extract_json_dict(content: str) -> dict[str, Any]:
|
|
|
100
100
|
return {"content": content}
|
|
101
101
|
|
|
102
102
|
|
|
103
|
+
def _validated_dump(response_model: type[Any], payload: str | dict[str, Any]) -> dict[str, Any]:
|
|
104
|
+
"""Validate ``payload`` as ``response_model`` and return its field dict."""
|
|
105
|
+
if isinstance(payload, str):
|
|
106
|
+
validator = getattr(response_model, "model_validate_json", None)
|
|
107
|
+
if not callable(validator):
|
|
108
|
+
raise TypeError(f"{getattr(response_model, '__name__', response_model)} cannot validate JSON")
|
|
109
|
+
validated = validator(payload)
|
|
110
|
+
else:
|
|
111
|
+
validator = getattr(response_model, "model_validate", None)
|
|
112
|
+
if not callable(validator):
|
|
113
|
+
raise TypeError(f"{getattr(response_model, '__name__', response_model)} cannot validate a dict")
|
|
114
|
+
validated = validator(payload)
|
|
115
|
+
model_dump = getattr(validated, "model_dump", None)
|
|
116
|
+
if not callable(model_dump):
|
|
117
|
+
raise TypeError(f"{getattr(response_model, '__name__', response_model)} did not produce a model instance")
|
|
118
|
+
dumped = model_dump()
|
|
119
|
+
if not isinstance(dumped, dict):
|
|
120
|
+
raise TypeError(f"{getattr(response_model, '__name__', response_model)} dump was not an object")
|
|
121
|
+
return dumped
|
|
122
|
+
|
|
123
|
+
|
|
103
124
|
def _parse_structured_response(content: str, response_model: type[Any] | None) -> dict[str, Any]:
|
|
125
|
+
if response_model is None:
|
|
126
|
+
return _extract_json_dict(content)
|
|
127
|
+
|
|
104
128
|
text = _strip_json_fences(content)
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
129
|
+
last_error: Exception | None = None
|
|
130
|
+
if text:
|
|
131
|
+
try:
|
|
132
|
+
return _validated_dump(response_model, text)
|
|
133
|
+
except Exception as exc:
|
|
134
|
+
last_error = exc
|
|
135
|
+
logger.debug("Pydantic validation failed; falling back to JSON extraction", exc_info=True)
|
|
136
|
+
|
|
137
|
+
try:
|
|
138
|
+
return _validated_dump(response_model, _extract_json_dict(content))
|
|
139
|
+
except Exception as exc:
|
|
140
|
+
last_error = exc
|
|
141
|
+
|
|
142
|
+
name = getattr(response_model, "__name__", "response model")
|
|
143
|
+
logger.warning("Structured response did not match %s", name)
|
|
144
|
+
raise ValueError(f"Structured response did not match {name}") from last_error
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
def _structured_output_kwargs(aiecs_client: Any, response_model: type[Any] | None = None) -> dict[str, Any]:
|
|
121
148
|
provider = (getattr(aiecs_client, "provider_name", None) or "").strip()
|
|
122
149
|
if provider in ("Vertex", "GoogleAI"):
|
|
123
|
-
|
|
150
|
+
# application/json only requires JSON. response_schema constrains the instance,
|
|
151
|
+
# so the model cannot echo the schema Graphiti appends to the prompt.
|
|
152
|
+
kwargs: dict[str, Any] = {"response_mime_type": "application/json"}
|
|
153
|
+
if response_model is not None:
|
|
154
|
+
kwargs["response_schema"] = response_model
|
|
155
|
+
return kwargs
|
|
124
156
|
if provider in ("OpenAI", "OpenRouter", "xAI", "VertexMaaS"):
|
|
125
157
|
return {"response_format": {"type": "json_object"}}
|
|
126
158
|
return {}
|
|
@@ -311,7 +343,7 @@ class AiecsGraphitiLLMClient:
|
|
|
311
343
|
model = self._model_for_size(model_size)
|
|
312
344
|
llm_kwargs: dict[str, Any] = {}
|
|
313
345
|
if response_model is not None:
|
|
314
|
-
llm_kwargs.update(_structured_output_kwargs(self._aiecs))
|
|
346
|
+
llm_kwargs.update(_structured_output_kwargs(self._aiecs, response_model))
|
|
315
347
|
llm_kwargs.setdefault("temperature", 0.0)
|
|
316
348
|
|
|
317
349
|
response = await self._aiecs.generate_text(
|
|
@@ -311,12 +311,17 @@ class GoogleAIClient(BaseLLMClient):
|
|
|
311
311
|
top_p_val = kwargs.pop("top_p", None)
|
|
312
312
|
top_k_val = kwargs.pop("top_k", None)
|
|
313
313
|
response_mime_type = kwargs.pop("response_mime_type", None)
|
|
314
|
+
response_schema = kwargs.pop("response_schema", None)
|
|
315
|
+
if response_schema is not None and response_mime_type is None:
|
|
316
|
+
response_mime_type = "application/json"
|
|
314
317
|
if top_p_val is not None:
|
|
315
318
|
generate_config_params["top_p"] = top_p_val
|
|
316
319
|
if top_k_val is not None:
|
|
317
320
|
generate_config_params["top_k"] = top_k_val
|
|
318
321
|
if response_mime_type is not None:
|
|
319
322
|
generate_config_params["response_mime_type"] = response_mime_type
|
|
323
|
+
if response_schema is not None:
|
|
324
|
+
generate_config_params["response_schema"] = response_schema
|
|
320
325
|
config = types.GenerateContentConfig(**generate_config_params)
|
|
321
326
|
|
|
322
327
|
# Use async client for async operations
|
|
@@ -593,6 +593,7 @@ class VertexAIClient(BaseLLMClient, GoogleFunctionCallingMixin):
|
|
|
593
593
|
_top_p = kwargs.pop("top_p", None)
|
|
594
594
|
_top_k = kwargs.pop("top_k", None)
|
|
595
595
|
_response_mime_type = kwargs.pop("response_mime_type", None)
|
|
596
|
+
_response_schema = kwargs.pop("response_schema", None)
|
|
596
597
|
_gen_config_params: Dict[str, Any] = {
|
|
597
598
|
"temperature": temperature,
|
|
598
599
|
"max_output_tokens": max_tokens or 8192,
|
|
@@ -601,8 +602,12 @@ class VertexAIClient(BaseLLMClient, GoogleFunctionCallingMixin):
|
|
|
601
602
|
"safety_settings": safety_settings,
|
|
602
603
|
"thinking_config": thinking_config,
|
|
603
604
|
}
|
|
605
|
+
if _response_schema is not None and _response_mime_type is None:
|
|
606
|
+
_response_mime_type = "application/json"
|
|
604
607
|
if _response_mime_type is not None:
|
|
605
608
|
_gen_config_params["response_mime_type"] = _response_mime_type
|
|
609
|
+
if _response_schema is not None:
|
|
610
|
+
_gen_config_params["response_schema"] = _response_schema
|
|
606
611
|
if _top_p is not None:
|
|
607
612
|
_gen_config_params["top_p"] = _top_p
|
|
608
613
|
if _top_k is not None:
|
|
@@ -165,7 +165,7 @@ async def lifespan(app: FastAPI):
|
|
|
165
165
|
app = FastAPI(
|
|
166
166
|
title="AIECS - AI Execute Services",
|
|
167
167
|
description="Middleware service for AI-powered task execution and tool orchestration",
|
|
168
|
-
version="2.2.
|
|
168
|
+
version="2.2.1",
|
|
169
169
|
lifespan=lifespan,
|
|
170
170
|
)
|
|
171
171
|
|
|
@@ -187,7 +187,7 @@ socket_app = socketio.ASGIApp(sio, other_asgi_app=app)
|
|
|
187
187
|
@app.get("/health")
|
|
188
188
|
async def health_check():
|
|
189
189
|
"""Health check endpoint"""
|
|
190
|
-
return {"status": "healthy", "service": "aiecs", "version": "2.2.
|
|
190
|
+
return {"status": "healthy", "service": "aiecs", "version": "2.2.1"}
|
|
191
191
|
|
|
192
192
|
|
|
193
193
|
# Metrics health check endpoint
|
|
@@ -20,7 +20,7 @@ exclude = '''
|
|
|
20
20
|
# Poetry 2.x 配置 - 需要基本的 metadata (使用 PEP 621 格式时保持最小配置)
|
|
21
21
|
[tool.poetry]
|
|
22
22
|
name = "aiecs"
|
|
23
|
-
version = "2.2.
|
|
23
|
+
version = "2.2.1"
|
|
24
24
|
description = "AI Execute Services - A middleware framework for AI-powered task execution and tool orchestration"
|
|
25
25
|
authors = ["AIECS Team <iretbl@gmail.com>"]
|
|
26
26
|
readme = "README.md"
|
|
@@ -28,7 +28,7 @@ packages = [{include = "aiecs"}]
|
|
|
28
28
|
|
|
29
29
|
[project]
|
|
30
30
|
name = "aiecs"
|
|
31
|
-
version = "2.2.
|
|
31
|
+
version = "2.2.1"
|
|
32
32
|
description = "AI Execute Services - A middleware framework for AI-powered task execution and tool orchestration"
|
|
33
33
|
authors = [
|
|
34
34
|
{name = "AIECS Team", email = "iretbl@gmail.com"}
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aiecs-2.2.0 → aiecs-2.2.1}/aiecs/domain/agent/skills/builtin/data-analysis/scripts/validate-data.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
|
|
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
|