agent-framework-lib 0.8.19__tar.gz → 0.8.21__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.
- {agent_framework_lib-0.8.19/agent_framework_lib.egg-info → agent_framework_lib-0.8.21}/PKG-INFO +2 -4
- {agent_framework_lib-0.8.19/agent_framework/web/docs → agent_framework_lib-0.8.21}/README.md +1 -3
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/agent_interface.py +0 -10
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/base_agent.py +15 -4
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/model_clients.py +77 -73
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/model_config.py +77 -7
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/model_router.py +27 -19
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/implementations/microsoft_agent.py +0 -1
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/providers/memori_provider.py +6 -11
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/image_gen/SKILL.md +1 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/utils/session_title_generator.py +7 -16
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/CREATING_AGENTS.md +2 -2
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/Dockerfile +1 -1
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21/agent_framework/web/docs}/README.md +1 -3
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21/agent_framework/web}/docs/api-reference.md +2 -5
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/configuration.md +29 -14
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/server.py +1 -1
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/test_app.html +4 -17
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/chat_completion.py +1 -9
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21/agent_framework_lib.egg-info}/PKG-INFO +2 -4
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/AGENT_RUNTIME_IMAGE.md +3 -3
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/CREATING_AGENTS.md +2 -2
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/ELASTICSEARCH_DATA_STRUCTURES.md +1 -4
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/IMPLEMENTATION_GUIDE_NEW_AGENT.md +1 -1
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/SECURITY_HARDENING.md +21 -0
- {agent_framework_lib-0.8.19/agent_framework/web → agent_framework_lib-0.8.21}/docs/api-reference.md +2 -5
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/configuration.md +29 -14
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/README.md +0 -1
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_training_with_apo.py +0 -1
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/workflow_engine_example.py +0 -2
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/pyproject.toml +4 -1
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/ARCHITECTURE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/LICENSE +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/MANIFEST.in +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/base.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/endpoints/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/endpoints/a2a_router.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/endpoints/agent_card_builder.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/endpoints/agent_card_skill_builder.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/endpoints/jsonrpc_dispatcher.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/endpoints/models_jsonrpc.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/endpoints/sse_wrapper.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/endpoints/translation_layer.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/models.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/providers/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/providers/elasticsearch_provider.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/a2a/providers/postgres_provider.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/capabilities/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/capabilities/resolver.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/code_delivery/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/code_delivery/audit.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/code_delivery/config.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/code_delivery/crypto.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/code_delivery/git_provider.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/code_delivery/herdr_client.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/code_delivery/models.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/code_delivery/orchestrator.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/code_delivery/store.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/code_delivery/tools.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/activity_formatter.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/agent_provider.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/context_budget.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/context_summarizer.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/elasticsearch_config_provider.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/execution_controller.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/implementation_validator.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/interruption_message.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/knowledge_state.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/loop_detector.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/models.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/prompt_builder.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/provider_calibration.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/scratchpad_compressor.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/scratchpad_serializer.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/state_manager.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/step_display_config.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/streaming_parts_accumulator.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/implementations/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/implementations/budget_aware_agent.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/implementations/llamaindex_agent.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/implementations/llamaindex_memory_adapter.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/agent_mixin.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/base.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/config.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/hypothesis_engine.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/implicit_feedback.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/manager.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/personalization.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/providers/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/providers/graphiti_provider.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/response_lessons.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/tools.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/memory/work_patterns.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/api_timing_tracker.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/elasticsearch_circuit_breaker.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/elasticsearch_logging.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/error_handling.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/error_logging.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/llm_auto_instrumentor.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/llm_metrics.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/llm_metrics_collector.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/llm_metrics_extractor.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/metrics_aggregator.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/metrics_config.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/observability_manager.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/otel_instrumentor.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/otel_logging_handler.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/otel_metrics_recorder.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/otel_setup.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/performance_monitor.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/progress_tracker.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/resource_manager.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/resource_metrics_collector.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/streaming_latency_tracer.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/timing_tracker.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/token_counter.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/monitoring/tracing_context.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/notifications/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/notifications/hub.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/notifications/webhook_notifier.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/processing/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/processing/ai_content_management.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/processing/markdown_converter.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/processing/multimodal_integration.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/processing/rich_content_validation.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/py.typed +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/authz.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/file_view_token.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/input_guard.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/openshell_policy.yaml +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/pii_redactor.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/sandbox.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/sandbox_provider.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/secret_redactor.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/shell_env.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/security/upload_token.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/session/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/session/elasticsearch_session_storage.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/session/session_storage.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/agent_mixin.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/base.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/scripts/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/scripts/create_and_register.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/scripts/register_to_storage.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/chart/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/chart/chart_to_image.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/chart/vendor_chart.umd.min.js +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/code_delivery/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/code_format/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/code_format/format_python.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/csv/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/csv/create_csv.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/csv/read_csv.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/csv/transform_csv.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/data_format/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/data_format/json_to_yaml.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/data_format/yaml_to_json.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/drawio/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/drawio/create_drawio.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/email_template/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/excel/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/excel/create_excel.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/file/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/file/create_file.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/file/list_files.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/file/read_file.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/file_access/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/file_access/download_to_local.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/file_access/get_file_path.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/form/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/image_display/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/image_gen/create_image.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/mermaid/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/mermaid/mermaid_to_image.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/mermaid/vendor_mermaid.umd.min.js +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/multimodal/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/optionsblock/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/powerpoint/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/powerpoint/create_powerpoint.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/powerpoint/templates/Big Data Infographics.pptx +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/powerpoint/templates/Executive Design Pitch Deck.pptx +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/powerpoint/templates/Management Consulting Toolkit.pptx +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/powerpoint/templates/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/powerpoint/templates/generate_templates.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/skill_creator/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/skill_creator/skill_api.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/table/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/table/table_to_image.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/unified_pdf/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/unified_pdf/create_pdf.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/web_news_search/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/web_news_search/web_news_search.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/word/SKILL.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/builtin/skills/word/create_word.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/custom_skill_manager.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/discovery_prompt.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/markdown_loader.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/skills/tools.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/storage/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/storage/file_storages.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/storage/file_system_management.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/storage/storage_optimizer.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/subagents/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/subagents/executor.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/subagents/message_injector.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/subagents/message_queue.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/subagents/retrigger.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/subagents/spawn_tool.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/activity_callback.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/adaptive_pdf_css.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/base.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/html_content_analyzer.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/multimodal_tools.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/pdf_image_scaler.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/shell_tool.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/sizing_config.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/web_fetch_tool.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/tools/web_search_tool.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/utils/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/utils/path_utils.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/utils/post_install.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/utils/source_detector.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/utils/special_blocks.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/admin_auth.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/admin_models.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/admin_router.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/admin_services.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/api_timing_middleware.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/A2A_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/BUILTIN_SKILLS_REFERENCE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/CUSTOM_SKILLS_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/DOCKER_SETUP.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/GETTING_STARTED.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/GITNEXUS_USER_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/MEMORY_INSTALLATION.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/TOOLS_AND_MCP_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/WORKSPACE_INTEGRATION.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/docker-compose.yml +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/examples/agent_example_multi_skills.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/examples/agent_with_file_storage.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/examples/agent_with_mcp.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/examples/agent_with_memory.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/examples/agent_with_memory_graphiti.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/examples/agent_with_memory_hybrid.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/examples/agent_with_memory_simple.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/examples/custom_framework_agent.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/examples/simple_agent.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/examples/skills_demo_agent.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/docs/installation-guide.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/documentation_generator.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/gitnexus_client.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/helper_agent.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/helper_ui.html +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/modern_ui.html +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/observability/kibana-llm-dashboard-setup.json +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/observability/kibana-resource-metrics-dashboard.json +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/otel_tracing_middleware.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/web/skills_router.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/builder.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/context.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/decorators.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/engine.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/errors.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/monitoring.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/runner.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/state.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/core/types.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/implementations/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/implementations/langgraph_engine.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/server/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/server/router.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workflow/server/schemas.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/__init__.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/artefacts.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/client.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/config.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/context.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/cursor.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/memory.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/models.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/poller.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/preferences.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/router.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/session.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/workspace/subscription.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework_lib.egg-info/SOURCES.txt +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework_lib.egg-info/dependency_links.txt +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework_lib.egg-info/entry_points.txt +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework_lib.egg-info/requires.txt +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework_lib.egg-info/top_level.txt +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/A2A_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/ACTIVITY_OUTPUT_PART.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/ARCHITECTURE_DIAGRAM.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/BUILTIN_SKILLS_REFERENCE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/CANCEL_AND_INTERRUPT_FRONTEND.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/CONCURRENCE_VS_PARALLELISME_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/CUSTOM_SKILLS_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/DEEPEVAL_TEST_REPORT.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/DIAGNOSTIC_SANDBOX_SKILLS.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/DOCKER_SETUP.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/FILE_DOWNLOAD_LINKS.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/FILE_STORAGE_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/GETTING_STARTED.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/GITNEXUS_USER_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/HISTORY_MESSAGE_FORMAT.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/MEMORY_INSTALLATION.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/MODIFICATIONS_CONCURRENCE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/MULTIMODAL_TOOLS_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/OBSERVABILITY_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/OPENSHELL_GATEWAY_HOST_SETUP.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/PYPI_PUBLISHING.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/QA_STREAMING_LATENCY.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/SCREENSHOTS_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/SECRETS_MANAGEMENT.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/SPEC_CROSS_MODEL_HISTORY_CONVERSION.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/SSE_NOTIFICATIONS_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/STREAMING_EVENTS_FRONTEND.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/TOOLS_AND_MCP_GUIDE.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/WORKSPACE_INTEGRATION.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/framework_audit_remarques.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/helper_agent.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/index.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/docs/installation-guide.md +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_context_budget_test.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_example_multi_skills.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_exemple_test.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_with_custom_tools_file_storage.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_with_file_storage.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_with_mcp.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_with_memory_graphiti.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_with_memory_hybrid.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_with_memory_simple.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/agent_with_personalization.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/biagenttest.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/custom_framework_agent.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/dependencies/docker-compose.yaml +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/pyproject.toml +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/simple_agent.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/skills_demo_agent.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/test_work_patterns_live.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/examples/workspace_test_agent.py +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/setup.cfg +0 -0
- {agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/setup.py +0 -0
{agent_framework_lib-0.8.19/agent_framework_lib.egg-info → agent_framework_lib-0.8.21}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-framework-lib
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.21
|
|
4
4
|
Summary: A comprehensive Python framework for building and serving conversational AI agents with FastAPI
|
|
5
5
|
Author-email: Sebastian Pavel <sebastian@cinco.ai>, Elliott Girard <elliott.girard@icloud.com>
|
|
6
6
|
Maintainer-email: Sebastian Pavel <sebastian@cinco.ai>
|
|
@@ -334,7 +334,7 @@ Pour **déployer** un agent, partez de l'image officielle — Chromium Playwrigh
|
|
|
334
334
|
sandbox locale déjà en place (sinon l'agent ne peut ni rendre un PNG ni installer quoi que ce soit) :
|
|
335
335
|
|
|
336
336
|
```dockerfile
|
|
337
|
-
FROM ghcr.io/komus-ai/agent-framework-runtime:0.8.
|
|
337
|
+
FROM ghcr.io/komus-ai/agent-framework-runtime:0.8.21
|
|
338
338
|
```
|
|
339
339
|
|
|
340
340
|
Détails, publication et visibilité GHCR : [docs/AGENT_RUNTIME_IMAGE.md](docs/AGENT_RUNTIME_IMAGE.md).
|
|
@@ -590,7 +590,6 @@ class MyAgent(LlamaIndexAgent):
|
|
|
590
590
|
description="A helpful assistant."
|
|
591
591
|
)
|
|
592
592
|
# Default model config (can be overridden per session)
|
|
593
|
-
self.default_temperature = 0.7
|
|
594
593
|
self.default_model = "claude-haiku-5-5"
|
|
595
594
|
```
|
|
596
595
|
|
|
@@ -598,7 +597,6 @@ class MyAgent(LlamaIndexAgent):
|
|
|
598
597
|
|
|
599
598
|
Users can override settings per session via the API or web UI:
|
|
600
599
|
- Model selection (gpt-6-astra, claude-sonnet-5-5, gemini-3.1-pro-preview)
|
|
601
|
-
- Temperature (0.0 - 1.0)
|
|
602
600
|
- Max tokens
|
|
603
601
|
- System prompt override
|
|
604
602
|
|
{agent_framework_lib-0.8.19/agent_framework/web/docs → agent_framework_lib-0.8.21}/README.md
RENAMED
|
@@ -173,7 +173,7 @@ Pour **déployer** un agent, partez de l'image officielle — Chromium Playwrigh
|
|
|
173
173
|
sandbox locale déjà en place (sinon l'agent ne peut ni rendre un PNG ni installer quoi que ce soit) :
|
|
174
174
|
|
|
175
175
|
```dockerfile
|
|
176
|
-
FROM ghcr.io/komus-ai/agent-framework-runtime:0.8.
|
|
176
|
+
FROM ghcr.io/komus-ai/agent-framework-runtime:0.8.21
|
|
177
177
|
```
|
|
178
178
|
|
|
179
179
|
Détails, publication et visibilité GHCR : [docs/AGENT_RUNTIME_IMAGE.md](docs/AGENT_RUNTIME_IMAGE.md).
|
|
@@ -429,7 +429,6 @@ class MyAgent(LlamaIndexAgent):
|
|
|
429
429
|
description="A helpful assistant."
|
|
430
430
|
)
|
|
431
431
|
# Default model config (can be overridden per session)
|
|
432
|
-
self.default_temperature = 0.7
|
|
433
432
|
self.default_model = "claude-haiku-5-5"
|
|
434
433
|
```
|
|
435
434
|
|
|
@@ -437,7 +436,6 @@ class MyAgent(LlamaIndexAgent):
|
|
|
437
436
|
|
|
438
437
|
Users can override settings per session via the API or web UI:
|
|
439
438
|
- Model selection (gpt-6-astra, claude-sonnet-5-5, gemini-3.1-pro-preview)
|
|
440
|
-
- Temperature (0.0 - 1.0)
|
|
441
439
|
- Max tokens
|
|
442
440
|
- System prompt override
|
|
443
441
|
|
{agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/agent_interface.py
RENAMED
|
@@ -25,9 +25,6 @@ class AgentConfig(BaseModel):
|
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
# Model parameters
|
|
28
|
-
temperature: float | None = Field(
|
|
29
|
-
None, ge=0.0, le=2.0, description="Controls randomness (0.0-2.0)"
|
|
30
|
-
)
|
|
31
28
|
max_tokens: int | None = Field(None, ge=1, le=100000, description="Maximum tokens in response")
|
|
32
29
|
top_p: float | None = Field(None, ge=0.0, le=1.0, description="Nucleus sampling parameter")
|
|
33
30
|
frequency_penalty: float | None = Field(
|
|
@@ -48,13 +45,6 @@ class AgentConfig(BaseModel):
|
|
|
48
45
|
# Response preferences
|
|
49
46
|
response_format: str | None = Field(None, description="Preferred response format hints")
|
|
50
47
|
|
|
51
|
-
@field_validator("temperature")
|
|
52
|
-
@classmethod
|
|
53
|
-
def validate_temperature(cls, v):
|
|
54
|
-
if v is not None and not (0.0 <= v <= 2.0):
|
|
55
|
-
raise ValueError("Temperature must be between 0.0 and 2.0")
|
|
56
|
-
return v
|
|
57
|
-
|
|
58
48
|
@field_validator("top_p")
|
|
59
49
|
@classmethod
|
|
60
50
|
def validate_top_p(cls, v):
|
{agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/base_agent.py
RENAMED
|
@@ -89,8 +89,18 @@ logger = logging.getLogger(__name__)
|
|
|
89
89
|
DEFAULT_AGENT_TIMEZONE = "Europe/Paris"
|
|
90
90
|
_JOURS = ("lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi", "dimanche")
|
|
91
91
|
_MOIS = (
|
|
92
|
-
"janvier",
|
|
93
|
-
"
|
|
92
|
+
"janvier",
|
|
93
|
+
"février",
|
|
94
|
+
"mars",
|
|
95
|
+
"avril",
|
|
96
|
+
"mai",
|
|
97
|
+
"juin",
|
|
98
|
+
"juillet",
|
|
99
|
+
"août",
|
|
100
|
+
"septembre",
|
|
101
|
+
"octobre",
|
|
102
|
+
"novembre",
|
|
103
|
+
"décembre",
|
|
94
104
|
)
|
|
95
105
|
|
|
96
106
|
|
|
@@ -719,7 +729,7 @@ class BaseAgent(SkillsMixin, MemoryMixin, AgentInterface):
|
|
|
719
729
|
Return default model configuration.
|
|
720
730
|
|
|
721
731
|
Returns:
|
|
722
|
-
Dictionary with model configuration parameters (
|
|
732
|
+
Dictionary with model configuration parameters (max_tokens, etc.)
|
|
723
733
|
"""
|
|
724
734
|
return {}
|
|
725
735
|
|
|
@@ -977,7 +987,8 @@ class BaseAgent(SkillsMixin, MemoryMixin, AgentInterface):
|
|
|
977
987
|
# ----- AgentInterface -----
|
|
978
988
|
async def configure_session(self, session_configuration: dict[str, Any]) -> None:
|
|
979
989
|
"""Configure the agent with session-level settings."""
|
|
980
|
-
|
|
990
|
+
# Key names only: values can carry client secrets (portal_api_key, tools).
|
|
991
|
+
logger.info(f"BaseAgent: Configuring session with keys: {sorted(session_configuration)}")
|
|
981
992
|
|
|
982
993
|
# Handle skills configuration (replaces rich content configuration)
|
|
983
994
|
if "enable_skills" in session_configuration:
|
{agent_framework_lib-0.8.19 → agent_framework_lib-0.8.21}/agent_framework/core/model_clients.py
RENAMED
|
@@ -70,7 +70,6 @@ _MISTRAL_RENAMED_CREATE_KWARGS: dict[str, str] = {
|
|
|
70
70
|
_OPENAI_SDK_CREATE_KWARGS: frozenset[str] = frozenset({"max_tokens"})
|
|
71
71
|
|
|
72
72
|
# Mistral borne la température à 1.5 (OpenAI : 2.0) — 422 au-delà.
|
|
73
|
-
_MISTRAL_MAX_TEMPERATURE = 1.5
|
|
74
73
|
|
|
75
74
|
# Champs acceptés par rôle. La validation Mistral est stricte (« extra_forbidden ») :
|
|
76
75
|
# un ``refusal: null`` ou un ``name`` sur un message user suffit à faire échouer l'appel,
|
|
@@ -346,14 +345,6 @@ def strip_unsupported_mistral_kwargs(kwargs: dict[str, Any]) -> dict[str, Any]:
|
|
|
346
345
|
extra_body = dict(cleaned.get("extra_body") or {})
|
|
347
346
|
extra_body.setdefault(mistral_name, value)
|
|
348
347
|
cleaned["extra_body"] = extra_body
|
|
349
|
-
temperature = cleaned.get("temperature")
|
|
350
|
-
if isinstance(temperature, int | float) and temperature > _MISTRAL_MAX_TEMPERATURE:
|
|
351
|
-
cleaned["temperature"] = _MISTRAL_MAX_TEMPERATURE
|
|
352
|
-
logger.info(
|
|
353
|
-
"[Mistral Sanitizer] temperature %s clamped to %s (Mistral maximum)",
|
|
354
|
-
temperature,
|
|
355
|
-
_MISTRAL_MAX_TEMPERATURE,
|
|
356
|
-
)
|
|
357
348
|
choice = cleaned.get("tool_choice")
|
|
358
349
|
if isinstance(choice, str) and choice in _MISTRAL_TOOL_CHOICE_MAP:
|
|
359
350
|
cleaned["tool_choice"] = _MISTRAL_TOOL_CHOICE_MAP[choice]
|
|
@@ -1125,18 +1116,46 @@ except ImportError:
|
|
|
1125
1116
|
)
|
|
1126
1117
|
ANTHROPIC_AVAILABLE = False
|
|
1127
1118
|
|
|
1128
|
-
# Try importing Google Gemini client
|
|
1119
|
+
# Try importing Google Gemini client (google-genai, already pulled by LlamaIndex GoogleGenAI)
|
|
1129
1120
|
try:
|
|
1130
|
-
|
|
1121
|
+
from google import genai as google_genai
|
|
1122
|
+
from google.genai import types as genai_types
|
|
1131
1123
|
|
|
1132
1124
|
GEMINI_AVAILABLE = True
|
|
1133
1125
|
except ImportError:
|
|
1134
1126
|
logger.warning(
|
|
1135
|
-
"[ModelClientFactory] Google Gemini client not available. Install with: uv add google-
|
|
1127
|
+
"[ModelClientFactory] Google Gemini client not available. Install with: uv add google-genai"
|
|
1136
1128
|
)
|
|
1137
1129
|
GEMINI_AVAILABLE = False
|
|
1138
1130
|
|
|
1139
1131
|
|
|
1132
|
+
class _GeminiModel:
|
|
1133
|
+
"""A google-genai client bound to one model, behind ``generate_content_async``.
|
|
1134
|
+
|
|
1135
|
+
Keeps the surface the execution layer and the title generator already call, so the
|
|
1136
|
+
raw Gemini path no longer depends on the retired ``google.generativeai`` SDK.
|
|
1137
|
+
"""
|
|
1138
|
+
|
|
1139
|
+
def __init__(self, client: Any, model_name: str, generation_config: dict[str, Any]):
|
|
1140
|
+
self._client = client
|
|
1141
|
+
self.model_name = model_name
|
|
1142
|
+
self._generation_config = generation_config
|
|
1143
|
+
|
|
1144
|
+
async def generate_content_async(
|
|
1145
|
+
self, contents: Any, generation_config: dict[str, Any] | None = None, stream: bool = False
|
|
1146
|
+
) -> Any:
|
|
1147
|
+
merged = {**self._generation_config, **(generation_config or {})}
|
|
1148
|
+
config = merged or None
|
|
1149
|
+
models = self._client.aio.models
|
|
1150
|
+
if stream:
|
|
1151
|
+
return await models.generate_content_stream(
|
|
1152
|
+
model=self.model_name, contents=contents, config=config
|
|
1153
|
+
)
|
|
1154
|
+
return await models.generate_content(
|
|
1155
|
+
model=self.model_name, contents=contents, config=config
|
|
1156
|
+
)
|
|
1157
|
+
|
|
1158
|
+
|
|
1140
1159
|
class ModelClientFactory:
|
|
1141
1160
|
"""
|
|
1142
1161
|
Factory class for creating appropriate model clients based on model names.
|
|
@@ -1195,9 +1214,6 @@ class ModelClientFactory:
|
|
|
1195
1214
|
logger.debug("[ModelClientFactory] Applying agent configuration overrides:")
|
|
1196
1215
|
logger.debug(f" - Agent config: {agent_config.dict(exclude_unset=True)}")
|
|
1197
1216
|
|
|
1198
|
-
if agent_config.temperature is not None:
|
|
1199
|
-
params["temperature"] = agent_config.temperature
|
|
1200
|
-
logger.debug(f" - Temperature override: {agent_config.temperature}")
|
|
1201
1217
|
if agent_config.timeout is not None:
|
|
1202
1218
|
params["timeout"] = agent_config.timeout
|
|
1203
1219
|
logger.debug(f" - Timeout override: {agent_config.timeout}")
|
|
@@ -1235,7 +1251,11 @@ class ModelClientFactory:
|
|
|
1235
1251
|
self, params: dict[str, Any], agent_config: AgentConfig = None
|
|
1236
1252
|
) -> Any:
|
|
1237
1253
|
"""Create an OpenAI client with the given parameters."""
|
|
1238
|
-
return self._build_openai_compatible_client(
|
|
1254
|
+
return self._build_openai_compatible_client(
|
|
1255
|
+
params,
|
|
1256
|
+
agent_config,
|
|
1257
|
+
base_url=self.config.get_base_url_for_provider(ModelProvider.OPENAI),
|
|
1258
|
+
)
|
|
1239
1259
|
|
|
1240
1260
|
def _create_mistral_client(
|
|
1241
1261
|
self, params: dict[str, Any], agent_config: AgentConfig = None
|
|
@@ -1248,7 +1268,7 @@ class ModelClientFactory:
|
|
|
1248
1268
|
return self._build_openai_compatible_client(
|
|
1249
1269
|
params,
|
|
1250
1270
|
agent_config,
|
|
1251
|
-
base_url=self.config.
|
|
1271
|
+
base_url=self.config.get_base_url_for_provider(ModelProvider.MISTRAL),
|
|
1252
1272
|
provider=ModelProvider.MISTRAL.value,
|
|
1253
1273
|
)
|
|
1254
1274
|
|
|
@@ -1278,10 +1298,7 @@ class ModelClientFactory:
|
|
|
1278
1298
|
client_params["max_retries"] = params["max_retries"]
|
|
1279
1299
|
|
|
1280
1300
|
# Store model configuration for later use
|
|
1281
|
-
model_params: dict[str, Any] = {
|
|
1282
|
-
"model": params["model"],
|
|
1283
|
-
"temperature": params.get("temperature", 0.7),
|
|
1284
|
-
}
|
|
1301
|
+
model_params: dict[str, Any] = {"model": params["model"]}
|
|
1285
1302
|
if provider != "openai":
|
|
1286
1303
|
model_params["provider"] = provider
|
|
1287
1304
|
|
|
@@ -1320,16 +1337,11 @@ class ModelClientFactory:
|
|
|
1320
1337
|
"""Create a Google Gemini client with the given parameters."""
|
|
1321
1338
|
if not GEMINI_AVAILABLE:
|
|
1322
1339
|
raise ImportError(
|
|
1323
|
-
"Google Gemini client not available. Install with: uv add google-
|
|
1340
|
+
"Google Gemini client not available. Install with: uv add google-genai"
|
|
1324
1341
|
)
|
|
1325
1342
|
|
|
1326
|
-
# Configure Gemini API
|
|
1327
|
-
genai.configure(api_key=params["api_key"])
|
|
1328
|
-
|
|
1329
1343
|
# Build generation config
|
|
1330
|
-
generation_config = {
|
|
1331
|
-
"temperature": params.get("temperature", 0.7),
|
|
1332
|
-
}
|
|
1344
|
+
generation_config: dict[str, Any] = {}
|
|
1333
1345
|
|
|
1334
1346
|
# Apply agent config overrides for Gemini-specific parameters
|
|
1335
1347
|
if agent_config:
|
|
@@ -1353,10 +1365,12 @@ class ModelClientFactory:
|
|
|
1353
1365
|
logger.debug(f"[ModelClientFactory] Gemini generation config: {generation_config}")
|
|
1354
1366
|
|
|
1355
1367
|
try:
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1368
|
+
base_url = self.config.get_base_url_for_provider(ModelProvider.GEMINI)
|
|
1369
|
+
client = google_genai.Client(
|
|
1370
|
+
api_key=params["api_key"],
|
|
1371
|
+
http_options=genai_types.HttpOptions(base_url=base_url) if base_url else None,
|
|
1359
1372
|
)
|
|
1373
|
+
model = _GeminiModel(client, params["model"], generation_config)
|
|
1360
1374
|
# Attach model parameters for easy access
|
|
1361
1375
|
model._model_params = {"model": params["model"], **generation_config}
|
|
1362
1376
|
return model
|
|
@@ -1375,6 +1389,9 @@ class ModelClientFactory:
|
|
|
1375
1389
|
client_params = {
|
|
1376
1390
|
"api_key": params["api_key"],
|
|
1377
1391
|
}
|
|
1392
|
+
base_url = self.config.get_base_url_for_provider(ModelProvider.ANTHROPIC)
|
|
1393
|
+
if base_url:
|
|
1394
|
+
client_params["base_url"] = base_url
|
|
1378
1395
|
|
|
1379
1396
|
# Add optional parameters if present
|
|
1380
1397
|
if "timeout" in params:
|
|
@@ -1383,10 +1400,7 @@ class ModelClientFactory:
|
|
|
1383
1400
|
client_params["max_retries"] = params["max_retries"]
|
|
1384
1401
|
|
|
1385
1402
|
# Store model configuration for later use
|
|
1386
|
-
model_params = {
|
|
1387
|
-
"model": params["model"],
|
|
1388
|
-
"temperature": params.get("temperature", 0.7),
|
|
1389
|
-
}
|
|
1403
|
+
model_params = {"model": params["model"]}
|
|
1390
1404
|
|
|
1391
1405
|
# Apply agent config overrides for Anthropic-specific parameters
|
|
1392
1406
|
if agent_config:
|
|
@@ -1524,8 +1538,6 @@ class ModelClientFactory:
|
|
|
1524
1538
|
if agent_config:
|
|
1525
1539
|
logger.debug("[ModelClientFactory] Applying agent configuration overrides")
|
|
1526
1540
|
|
|
1527
|
-
if agent_config.temperature is not None:
|
|
1528
|
-
params["temperature"] = agent_config.temperature
|
|
1529
1541
|
if agent_config.max_tokens is not None:
|
|
1530
1542
|
params["max_tokens"] = agent_config.max_tokens
|
|
1531
1543
|
if agent_config.top_p is not None:
|
|
@@ -1541,6 +1553,19 @@ class ModelClientFactory:
|
|
|
1541
1553
|
# Add required parameters
|
|
1542
1554
|
params.update({"model": model_name, "api_key": api_key})
|
|
1543
1555
|
|
|
1556
|
+
# Endpoint du fournisseur ou du proxy LLM central ; chaque classe llama-index a
|
|
1557
|
+
# son propre nom de paramètre (llama-index OpenAI ignore OPENAI_BASE_URL).
|
|
1558
|
+
base_url = self.config.get_base_url_for_provider(provider)
|
|
1559
|
+
if base_url:
|
|
1560
|
+
if provider in (ModelProvider.OPENAI, ModelProvider.MISTRAL):
|
|
1561
|
+
params.setdefault("api_base", base_url)
|
|
1562
|
+
elif provider == ModelProvider.ANTHROPIC:
|
|
1563
|
+
params.setdefault("base_url", base_url)
|
|
1564
|
+
elif provider == ModelProvider.GEMINI and "http_options" not in params:
|
|
1565
|
+
from google.genai import types as genai_types
|
|
1566
|
+
|
|
1567
|
+
params["http_options"] = genai_types.HttpOptions(base_url=base_url)
|
|
1568
|
+
|
|
1544
1569
|
# Create LLM based on provider
|
|
1545
1570
|
if provider == ModelProvider.OPENAI:
|
|
1546
1571
|
return self._create_llamaindex_openai(params)
|
|
@@ -1749,7 +1774,7 @@ class ModelClientFactory:
|
|
|
1749
1774
|
)
|
|
1750
1775
|
|
|
1751
1776
|
llm_params = dict(params)
|
|
1752
|
-
llm_params
|
|
1777
|
+
llm_params.setdefault("api_base", self.config.mistral_base_url)
|
|
1753
1778
|
llm_params.setdefault("is_chat_model", True)
|
|
1754
1779
|
llm_params.setdefault("is_function_calling_model", True)
|
|
1755
1780
|
llm_params.setdefault(
|
|
@@ -1944,18 +1969,14 @@ def _estimate_token_counts(model: str | None, input_text: str, output_text: str)
|
|
|
1944
1969
|
def _resolve_call_params(
|
|
1945
1970
|
model_params: dict[str, Any],
|
|
1946
1971
|
max_tokens: int | None,
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
"""Resolve effective (model, temperature, max_tokens).
|
|
1972
|
+
) -> tuple[str, int | None]:
|
|
1973
|
+
"""Resolve effective (model, max_tokens).
|
|
1950
1974
|
|
|
1951
1975
|
Explicit call arguments take precedence over the client's ``model_params``.
|
|
1952
1976
|
"""
|
|
1953
1977
|
model = model_params.get("model")
|
|
1954
|
-
effective_temperature = (
|
|
1955
|
-
temperature if temperature is not None else model_params.get("temperature", 0.7)
|
|
1956
|
-
)
|
|
1957
1978
|
effective_max_tokens = max_tokens if max_tokens is not None else model_params.get("max_tokens")
|
|
1958
|
-
return cast("str", model),
|
|
1979
|
+
return cast("str", model), effective_max_tokens
|
|
1959
1980
|
|
|
1960
1981
|
|
|
1961
1982
|
async def execute_chat_completion(
|
|
@@ -1965,7 +1986,6 @@ async def execute_chat_completion(
|
|
|
1965
1986
|
*,
|
|
1966
1987
|
stream: bool = False,
|
|
1967
1988
|
max_tokens: int | None = None,
|
|
1968
|
-
temperature: float | None = None,
|
|
1969
1989
|
response_format: dict[str, Any] | None = None,
|
|
1970
1990
|
) -> "ChatExecutionResult | AsyncIterator[ChatExecutionChunk]":
|
|
1971
1991
|
"""Execute a chat completion against a raw provider client and normalize it.
|
|
@@ -1978,14 +1998,13 @@ async def execute_chat_completion(
|
|
|
1978
1998
|
|
|
1979
1999
|
Args:
|
|
1980
2000
|
client: A raw provider SDK client created by ``ModelClientFactory``.
|
|
1981
|
-
model_params: The ``client._model_params`` dict (model name
|
|
1982
|
-
|
|
2001
|
+
model_params: The ``client._model_params`` dict (model name and any
|
|
2002
|
+
provider-specific extras attached by the factory).
|
|
1983
2003
|
messages: OpenAI-style ``[{"role", "content"}]`` list. The system-role
|
|
1984
2004
|
message is ALWAYS preserved and placed in each provider's expected
|
|
1985
2005
|
slot by its helper (Req 2.11).
|
|
1986
2006
|
stream: When ``True``, returns an async iterator of ``ChatExecutionChunk``.
|
|
1987
2007
|
max_tokens: Optional max output tokens (overrides ``model_params``).
|
|
1988
|
-
temperature: Optional sampling temperature (overrides ``model_params``).
|
|
1989
2008
|
response_format: Optional, provider-agnostic structured-output request in
|
|
1990
2009
|
the OpenAI shape — ``{"type": "json_object"}``,
|
|
1991
2010
|
``{"type": "json_schema", "json_schema": {"name", "schema", ...}}`` or
|
|
@@ -2012,7 +2031,6 @@ async def execute_chat_completion(
|
|
|
2012
2031
|
messages,
|
|
2013
2032
|
stream=stream,
|
|
2014
2033
|
max_tokens=max_tokens,
|
|
2015
|
-
temperature=temperature,
|
|
2016
2034
|
response_format=response_format,
|
|
2017
2035
|
)
|
|
2018
2036
|
if ANTHROPIC_AVAILABLE and isinstance(client, AsyncAnthropic):
|
|
@@ -2022,17 +2040,15 @@ async def execute_chat_completion(
|
|
|
2022
2040
|
messages,
|
|
2023
2041
|
stream=stream,
|
|
2024
2042
|
max_tokens=max_tokens,
|
|
2025
|
-
temperature=temperature,
|
|
2026
2043
|
response_format=response_format,
|
|
2027
2044
|
)
|
|
2028
|
-
if GEMINI_AVAILABLE and isinstance(client,
|
|
2045
|
+
if GEMINI_AVAILABLE and isinstance(client, _GeminiModel):
|
|
2029
2046
|
return await _execute_gemini(
|
|
2030
2047
|
client,
|
|
2031
2048
|
model_params,
|
|
2032
2049
|
messages,
|
|
2033
2050
|
stream=stream,
|
|
2034
2051
|
max_tokens=max_tokens,
|
|
2035
|
-
temperature=temperature,
|
|
2036
2052
|
response_format=response_format,
|
|
2037
2053
|
)
|
|
2038
2054
|
# Fallback: dispatch by duck-typing on the SDK surface when isinstance fails
|
|
@@ -2045,7 +2061,6 @@ async def execute_chat_completion(
|
|
|
2045
2061
|
messages,
|
|
2046
2062
|
stream=stream,
|
|
2047
2063
|
max_tokens=max_tokens,
|
|
2048
|
-
temperature=temperature,
|
|
2049
2064
|
response_format=response_format,
|
|
2050
2065
|
)
|
|
2051
2066
|
if hasattr(client, "messages") and hasattr(client.messages, "create"):
|
|
@@ -2055,7 +2070,6 @@ async def execute_chat_completion(
|
|
|
2055
2070
|
messages,
|
|
2056
2071
|
stream=stream,
|
|
2057
2072
|
max_tokens=max_tokens,
|
|
2058
|
-
temperature=temperature,
|
|
2059
2073
|
response_format=response_format,
|
|
2060
2074
|
)
|
|
2061
2075
|
if hasattr(client, "generate_content_async"):
|
|
@@ -2065,7 +2079,6 @@ async def execute_chat_completion(
|
|
|
2065
2079
|
messages,
|
|
2066
2080
|
stream=stream,
|
|
2067
2081
|
max_tokens=max_tokens,
|
|
2068
|
-
temperature=temperature,
|
|
2069
2082
|
response_format=response_format,
|
|
2070
2083
|
)
|
|
2071
2084
|
raise TypeError(
|
|
@@ -2170,7 +2183,6 @@ async def _execute_openai(
|
|
|
2170
2183
|
*,
|
|
2171
2184
|
stream: bool = False,
|
|
2172
2185
|
max_tokens: int | None = None,
|
|
2173
|
-
temperature: float | None = None,
|
|
2174
2186
|
response_format: dict[str, Any] | None = None,
|
|
2175
2187
|
) -> "ChatExecutionResult | AsyncIterator[ChatExecutionChunk]":
|
|
2176
2188
|
"""Execute via ``client.chat.completions.create``.
|
|
@@ -2181,9 +2193,7 @@ async def _execute_openai(
|
|
|
2181
2193
|
reported) mapped to ``thinking_tokens``. ``response_format`` is forwarded
|
|
2182
2194
|
natively (OpenAI supports ``json_object`` / ``json_schema``).
|
|
2183
2195
|
"""
|
|
2184
|
-
model,
|
|
2185
|
-
model_params, max_tokens, temperature
|
|
2186
|
-
)
|
|
2196
|
+
model, effective_max_tokens = _resolve_call_params(model_params, max_tokens)
|
|
2187
2197
|
is_mistral = _is_mistral_client(client, model_params)
|
|
2188
2198
|
|
|
2189
2199
|
# Normalize response_format to OpenAI's exact envelope and ensure the "json"
|
|
@@ -2197,16 +2207,17 @@ async def _execute_openai(
|
|
|
2197
2207
|
create_kwargs: dict[str, Any] = {
|
|
2198
2208
|
"model": model,
|
|
2199
2209
|
"messages": effective_messages,
|
|
2200
|
-
"temperature": effective_temperature,
|
|
2201
2210
|
}
|
|
2202
2211
|
if effective_max_tokens is not None:
|
|
2203
|
-
|
|
2212
|
+
# Les modèles de raisonnement (gpt-5/6, o-series) refusent ``max_tokens`` ; le
|
|
2213
|
+
# sanitizer Mistral le renomme en ``max_tokens`` pour Mistral.
|
|
2214
|
+
create_kwargs["max_completion_tokens"] = effective_max_tokens
|
|
2204
2215
|
# OpenAI natively supports response_format; forward the normalized value (a
|
|
2205
2216
|
# plain ``{"type": "text"}`` is harmless, so only skip the no-op ``None``).
|
|
2206
2217
|
if normalized_rf is not None:
|
|
2207
2218
|
create_kwargs["response_format"] = normalized_rf
|
|
2208
2219
|
if is_mistral:
|
|
2209
|
-
# Same kwarg rules as the LlamaIndex path (renames,
|
|
2220
|
+
# Same kwarg rules as the LlamaIndex path (renames, strict schema).
|
|
2210
2221
|
create_kwargs = strip_unsupported_mistral_kwargs(create_kwargs)
|
|
2211
2222
|
|
|
2212
2223
|
if stream:
|
|
@@ -2330,7 +2341,6 @@ async def _execute_anthropic(
|
|
|
2330
2341
|
*,
|
|
2331
2342
|
stream: bool = False,
|
|
2332
2343
|
max_tokens: int | None = None,
|
|
2333
|
-
temperature: float | None = None,
|
|
2334
2344
|
response_format: dict[str, Any] | None = None,
|
|
2335
2345
|
) -> "ChatExecutionResult | AsyncIterator[ChatExecutionChunk]":
|
|
2336
2346
|
"""Execute via ``client.messages.create``.
|
|
@@ -2346,9 +2356,7 @@ async def _execute_anthropic(
|
|
|
2346
2356
|
validated JSON as normal text. Extraction and streaming therefore use the
|
|
2347
2357
|
standard text path — real incremental deltas, unlike a tool-use workaround.
|
|
2348
2358
|
"""
|
|
2349
|
-
model,
|
|
2350
|
-
model_params, max_tokens, temperature
|
|
2351
|
-
)
|
|
2359
|
+
model, effective_max_tokens = _resolve_call_params(model_params, max_tokens)
|
|
2352
2360
|
# Anthropic REQUIRES max_tokens; fall back to a default when none was provided.
|
|
2353
2361
|
if effective_max_tokens is None:
|
|
2354
2362
|
effective_max_tokens = model_params.get("max_tokens", _DEFAULT_MAX_TOKENS)
|
|
@@ -2362,7 +2370,6 @@ async def _execute_anthropic(
|
|
|
2362
2370
|
"model": model,
|
|
2363
2371
|
"messages": non_system_messages,
|
|
2364
2372
|
"max_tokens": effective_max_tokens,
|
|
2365
|
-
"temperature": effective_temperature,
|
|
2366
2373
|
}
|
|
2367
2374
|
if system_text is not None:
|
|
2368
2375
|
create_kwargs["system"] = system_text
|
|
@@ -2482,7 +2489,6 @@ async def _execute_gemini(
|
|
|
2482
2489
|
*,
|
|
2483
2490
|
stream: bool = False,
|
|
2484
2491
|
max_tokens: int | None = None,
|
|
2485
|
-
temperature: float | None = None,
|
|
2486
2492
|
response_format: dict[str, Any] | None = None,
|
|
2487
2493
|
) -> "ChatExecutionResult | AsyncIterator[ChatExecutionChunk]":
|
|
2488
2494
|
"""Execute via Gemini ``GenerativeModel.generate_content_async``.
|
|
@@ -2495,12 +2501,10 @@ async def _execute_gemini(
|
|
|
2495
2501
|
``generation_config.response_mime_type = "application/json"`` and, when a JSON
|
|
2496
2502
|
schema is supplied, ``generation_config.response_schema``.
|
|
2497
2503
|
"""
|
|
2498
|
-
model,
|
|
2499
|
-
model_params, max_tokens, temperature
|
|
2500
|
-
)
|
|
2504
|
+
model, effective_max_tokens = _resolve_call_params(model_params, max_tokens)
|
|
2501
2505
|
contents = _messages_to_gemini_contents(messages)
|
|
2502
2506
|
|
|
2503
|
-
generation_config: dict[str, Any] = {
|
|
2507
|
+
generation_config: dict[str, Any] = {}
|
|
2504
2508
|
if effective_max_tokens is not None:
|
|
2505
2509
|
generation_config["max_output_tokens"] = effective_max_tokens
|
|
2506
2510
|
if _wants_json(response_format):
|