waldiez 0.5.1__tar.gz → 0.5.3__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.
Potentially problematic release.
This version of waldiez might be problematic. Click here for more details.
- {waldiez-0.5.1 → waldiez-0.5.3}/PKG-INFO +39 -38
- {waldiez-0.5.1 → waldiez-0.5.3}/pyproject.toml +104 -107
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/_version.py +1 -1
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/cli.py +2 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/group_manager_agent_extas.py +5 -1
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/chats/processor.py +4 -4
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/chats/utils/group.py +4 -4
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/chats/utils/single.py +3 -3
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/tools/exporter.py +1 -1
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/chat/chat_message.py +1 -1
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/tool/extra_requirements.py +5 -0
- waldiez-0.5.3/waldiez/models/tool/predefined/__init__.py +24 -0
- waldiez-0.5.3/waldiez/models/tool/predefined/_config.py +68 -0
- waldiez-0.5.3/waldiez/models/tool/predefined/_google.py +166 -0
- waldiez-0.5.3/waldiez/models/tool/predefined/_tavily.py +124 -0
- waldiez-0.5.3/waldiez/models/tool/predefined/_wikipedia.py +130 -0
- waldiez-0.5.3/waldiez/models/tool/predefined/_youtube.py +123 -0
- waldiez-0.5.3/waldiez/models/tool/predefined/protocol.py +85 -0
- waldiez-0.5.3/waldiez/models/tool/predefined/registry.py +79 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/tool/tool.py +96 -13
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/tool/tool_data.py +12 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/tool/tool_type.py +3 -1
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/runner.py +35 -2
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/base_runner.py +38 -8
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/environment.py +32 -12
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/import_runner.py +13 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/post_run.py +71 -14
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/pre_run.py +42 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/protocol.py +6 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/subprocess_runner.py +4 -0
- waldiez-0.5.3/waldiez/running/timeline_processor.py +1248 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/utils/version.py +12 -1
- {waldiez-0.5.1 → waldiez-0.5.3}/.gitignore +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/LICENSE +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/NOTICE.md +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/README.md +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/__main__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/cli_extras/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/cli_extras/jupyter.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/cli_extras/runner.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/cli_extras/studio.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporter.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/code_execution.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/exporter.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/captain_agent_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/group/target.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/group_member_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/handoffs/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/handoffs/after_work.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/handoffs/available.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/handoffs/condition.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/handoffs/handoff.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/handoffs/target.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/rag/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/rag/chroma_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/rag/mongo_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/rag/pgvector_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/rag/qdrant_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/rag/vector_db_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/rag_user_proxy_agent_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/extras/reasoning_agent_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/factory.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/processor.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/system_message.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/agent/termination.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/chats/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/chats/exporter.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/chats/factory.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/chats/utils/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/chats/utils/common.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/chats/utils/nested.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/chats/utils/sequential.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/constants.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/content.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/context.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/enums.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/errors.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/exporter.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/exporters.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/agent_extras/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/agent_extras/captain_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/agent_extras/group_manager_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/agent_extras/rag_user_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/agent_extras/reasoning_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/agent_extras/standard_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/base.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/chat_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/flow_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/model_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/path_resolver.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/serializer.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/extras/tool_extras.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/protocols.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/result.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/types.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/utils/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/utils/comment.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/utils/llm_config.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/core/validation.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/execution_generator.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/exporter.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/factory.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/file_generator.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/merger.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/orchestrator.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/utils/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/utils/common.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/utils/importing.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/utils/linting.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/flow/utils/logging.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/models/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/models/exporter.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/models/factory.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/models/processor.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/tools/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/tools/factory.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/tools/processor.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/exporting/tools/registration.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/_ws.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/base.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/constants.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/content/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/content/audio.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/content/base.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/content/file.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/content/image.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/content/text.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/content/video.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/user_input.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/models/user_response.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/mqtt.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/redis.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/structured.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/utils.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/io/ws.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/logger.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agent/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agent/agent.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agent/agent_data.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agent/agent_type.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agent/code_execution.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agent/human_input_mode.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agent/linked_tool.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agent/nested_chat.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agent/termination_message.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agent/update_system_message.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/agents.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/assistant/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/assistant/assistant.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/assistant/assistant_data.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/captain/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/captain/captain_agent.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/captain/captain_agent_data.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/captain/captain_agent_lib_entry.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/extra_requirements.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/group_manager/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/group_manager/group_manager.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/group_manager/group_manager_data.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/group_manager/speakers.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/rag_user_proxy/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/rag_user_proxy/rag_user_proxy.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/rag_user_proxy/rag_user_proxy_data.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/rag_user_proxy/retrieve_config.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/rag_user_proxy/vector_db_config.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/reasoning/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/reasoning/reasoning_agent.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/reasoning/reasoning_agent_data.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/reasoning/reasoning_agent_reason_config.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/user_proxy/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/user_proxy/user_proxy.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/agents/user_proxy/user_proxy_data.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/chat/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/chat/chat.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/chat/chat_data.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/chat/chat_nested.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/chat/chat_summary.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/common/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/common/ag2_version.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/common/base.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/common/date_utils.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/common/dict_utils.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/common/handoff.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/common/id_generator.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/common/method_utils.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/common/naming.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/common/waldiez_version.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/flow/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/flow/connection.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/flow/flow.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/flow/flow_data.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/flow/info.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/flow/naming.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/model/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/model/extra_requirements.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/model/model.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/model/model_data.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/tool/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/models/waldiez.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/py.typed +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/gen_seq_diagram.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/patch_io_stream.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/run_results.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/running/utils.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/utils/__init__.py +0 -0
- {waldiez-0.5.1 → waldiez-0.5.3}/waldiez/utils/conflict_checker.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: waldiez
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Dynamic: Keywords
|
|
5
5
|
Summary: Make AG2 Agents Collaborate: Drag, Drop, and Orchestrate with Waldiez.
|
|
6
6
|
Project-URL: Homepage, https://waldiez.io
|
|
@@ -27,7 +27,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
27
27
|
Classifier: Topic :: Software Development :: Code Generators
|
|
28
28
|
Classifier: Typing :: Typed
|
|
29
29
|
Requires-Python: <3.14,>=3.10
|
|
30
|
-
Requires-Dist: ag2[openai]==0.9.
|
|
30
|
+
Requires-Dist: ag2[openai]==0.9.5
|
|
31
31
|
Requires-Dist: aiocsv==1.3.2
|
|
32
32
|
Requires-Dist: aiofiles==24.1.0
|
|
33
33
|
Requires-Dist: aiosqlite==0.21.0
|
|
@@ -43,27 +43,27 @@ Requires-Dist: parso==0.8.4
|
|
|
43
43
|
Requires-Dist: pillow
|
|
44
44
|
Requires-Dist: pip>=25
|
|
45
45
|
Requires-Dist: pydantic<3,>=2.10.2
|
|
46
|
-
Requires-Dist: rpds-py==0.
|
|
46
|
+
Requires-Dist: rpds-py==0.26.0
|
|
47
47
|
Requires-Dist: typer<1,>=0.9.0
|
|
48
48
|
Provides-Extra: ag2-extras
|
|
49
|
-
Requires-Dist: ag2[anthropic]==0.9.
|
|
50
|
-
Requires-Dist: ag2[bedrock]==0.9.
|
|
51
|
-
Requires-Dist: ag2[cohere]==0.9.
|
|
52
|
-
Requires-Dist: ag2[gemini]==0.9.
|
|
53
|
-
Requires-Dist: ag2[gemini]==0.9.
|
|
54
|
-
Requires-Dist: ag2[groq]==0.9.
|
|
55
|
-
Requires-Dist: ag2[interop-crewai]==0.9.
|
|
56
|
-
Requires-Dist: ag2[interop-langchain]==0.9.
|
|
57
|
-
Requires-Dist: ag2[lmm]==0.9.
|
|
58
|
-
Requires-Dist: ag2[mistral]==0.9.
|
|
59
|
-
Requires-Dist: ag2[neo4j]==0.9.
|
|
60
|
-
Requires-Dist: ag2[neo4j]==0.9.
|
|
61
|
-
Requires-Dist: ag2[ollama]==0.9.
|
|
62
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
63
|
-
Requires-Dist: ag2[together]==0.9.
|
|
64
|
-
Requires-Dist: ag2[together]==0.9.
|
|
65
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
66
|
-
Requires-Dist: ag2[websurfer]==0.9.
|
|
49
|
+
Requires-Dist: ag2[anthropic]==0.9.5; extra == 'ag2-extras'
|
|
50
|
+
Requires-Dist: ag2[bedrock]==0.9.5; extra == 'ag2-extras'
|
|
51
|
+
Requires-Dist: ag2[cohere]==0.9.5; extra == 'ag2-extras'
|
|
52
|
+
Requires-Dist: ag2[gemini]==0.9.5; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
53
|
+
Requires-Dist: ag2[gemini]==0.9.5; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
54
|
+
Requires-Dist: ag2[groq]==0.9.5; extra == 'ag2-extras'
|
|
55
|
+
Requires-Dist: ag2[interop-crewai]==0.9.5; extra == 'ag2-extras'
|
|
56
|
+
Requires-Dist: ag2[interop-langchain]==0.9.5; extra == 'ag2-extras'
|
|
57
|
+
Requires-Dist: ag2[lmm]==0.9.5; extra == 'ag2-extras'
|
|
58
|
+
Requires-Dist: ag2[mistral]==0.9.5; extra == 'ag2-extras'
|
|
59
|
+
Requires-Dist: ag2[neo4j]==0.9.5; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
60
|
+
Requires-Dist: ag2[neo4j]==0.9.5; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
61
|
+
Requires-Dist: ag2[ollama]==0.9.5; extra == 'ag2-extras'
|
|
62
|
+
Requires-Dist: ag2[redis]==0.9.5; extra == 'ag2-extras'
|
|
63
|
+
Requires-Dist: ag2[together]==0.9.5; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
64
|
+
Requires-Dist: ag2[together]==0.9.5; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
65
|
+
Requires-Dist: ag2[websockets]==0.9.5; extra == 'ag2-extras'
|
|
66
|
+
Requires-Dist: ag2[websurfer]==0.9.5; extra == 'ag2-extras'
|
|
67
67
|
Requires-Dist: beautifulsoup4; extra == 'ag2-extras'
|
|
68
68
|
Requires-Dist: chromadb>=0.5.10; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
69
69
|
Requires-Dist: chromadb>=0.5.10; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
@@ -103,13 +103,13 @@ Requires-Dist: sentence-transformers; (sys_platform == 'linux') and extra == 'ag
|
|
|
103
103
|
Requires-Dist: weaviate-client<5,>=4; extra == 'ag2-extras'
|
|
104
104
|
Requires-Dist: wikipedia-api<1.0,>=0.8.1; extra == 'ag2-extras'
|
|
105
105
|
Provides-Extra: dev
|
|
106
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
107
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
106
|
+
Requires-Dist: ag2[redis]==0.9.5; extra == 'dev'
|
|
107
|
+
Requires-Dist: ag2[websockets]==0.9.5; extra == 'dev'
|
|
108
108
|
Requires-Dist: autoflake==2.3.1; extra == 'dev'
|
|
109
|
-
Requires-Dist: bandit==1.8.
|
|
109
|
+
Requires-Dist: bandit==1.8.6; extra == 'dev'
|
|
110
110
|
Requires-Dist: black[jupyter]==25.1.0; extra == 'dev'
|
|
111
111
|
Requires-Dist: build==1.2.2.post1; extra == 'dev'
|
|
112
|
-
Requires-Dist: fakeredis
|
|
112
|
+
Requires-Dist: fakeredis==2.30.1; extra == 'dev'
|
|
113
113
|
Requires-Dist: fastjsonschema>=2.21.1; extra == 'dev'
|
|
114
114
|
Requires-Dist: flake8==7.3.0; extra == 'dev'
|
|
115
115
|
Requires-Dist: hatchling==1.27.0; extra == 'dev'
|
|
@@ -124,12 +124,12 @@ Requires-Dist: nbformat>=5.10.4; extra == 'dev'
|
|
|
124
124
|
Requires-Dist: nodeenv>=1.9.1; extra == 'dev'
|
|
125
125
|
Requires-Dist: notebook-shim>=0.2.4; extra == 'dev'
|
|
126
126
|
Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'dev'
|
|
127
|
-
Requires-Dist: pandas-stubs==2.
|
|
127
|
+
Requires-Dist: pandas-stubs==2.3.0.250703; extra == 'dev'
|
|
128
128
|
Requires-Dist: pre-commit==4.2.0; extra == 'dev'
|
|
129
129
|
Requires-Dist: pydocstyle==6.3.0; extra == 'dev'
|
|
130
130
|
Requires-Dist: pylint==3.3.7; extra == 'dev'
|
|
131
|
-
Requires-Dist: python-dotenv
|
|
132
|
-
Requires-Dist: ruff==0.12.
|
|
131
|
+
Requires-Dist: python-dotenv>=1.1.0; extra == 'dev'
|
|
132
|
+
Requires-Dist: ruff==0.12.2; extra == 'dev'
|
|
133
133
|
Requires-Dist: toml==0.10.2; (python_version <= '3.10') and extra == 'dev'
|
|
134
134
|
Requires-Dist: types-jsonschema==4.24.0.20250528; extra == 'dev'
|
|
135
135
|
Requires-Dist: types-pyyaml==6.0.12.20250516; extra == 'dev'
|
|
@@ -146,7 +146,7 @@ Requires-Dist: mkdocs-autorefs==1.4.2; extra == 'docs'
|
|
|
146
146
|
Requires-Dist: mkdocs-awesome-nav==3.1.2; extra == 'docs'
|
|
147
147
|
Requires-Dist: mkdocs-jupyter==0.25.1; extra == 'docs'
|
|
148
148
|
Requires-Dist: mkdocs-macros-plugin==1.3.7; extra == 'docs'
|
|
149
|
-
Requires-Dist: mkdocs-material==9.6.
|
|
149
|
+
Requires-Dist: mkdocs-material==9.6.15; extra == 'docs'
|
|
150
150
|
Requires-Dist: mkdocs-minify-html-plugin==0.3.1; extra == 'docs'
|
|
151
151
|
Requires-Dist: mkdocs-open-in-new-tab==1.0.8; extra == 'docs'
|
|
152
152
|
Requires-Dist: mkdocs==1.6.1; extra == 'docs'
|
|
@@ -157,29 +157,30 @@ Requires-Dist: natsort==8.4.0; extra == 'docs'
|
|
|
157
157
|
Provides-Extra: jupyter
|
|
158
158
|
Requires-Dist: jupyter-server==2.16.0; extra == 'jupyter'
|
|
159
159
|
Requires-Dist: jupyterlab<5.0,>=4.3.0; extra == 'jupyter'
|
|
160
|
-
Requires-Dist: waldiez-jupyter==0.5.
|
|
160
|
+
Requires-Dist: waldiez-jupyter==0.5.3; extra == 'jupyter'
|
|
161
161
|
Provides-Extra: mqtt
|
|
162
162
|
Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'mqtt'
|
|
163
163
|
Provides-Extra: redis
|
|
164
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
164
|
+
Requires-Dist: ag2[redis]==0.9.5; extra == 'redis'
|
|
165
165
|
Provides-Extra: runner
|
|
166
|
-
Requires-Dist: waldiez-runner==0.5.
|
|
166
|
+
Requires-Dist: waldiez-runner==0.5.3; (python_version >= '3.11') and extra == 'runner'
|
|
167
167
|
Provides-Extra: studio
|
|
168
|
-
Requires-Dist: waldiez-studio==0.5.
|
|
168
|
+
Requires-Dist: waldiez-studio==0.5.3; extra == 'studio'
|
|
169
169
|
Provides-Extra: test
|
|
170
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
171
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
172
|
-
Requires-Dist: fakeredis
|
|
170
|
+
Requires-Dist: ag2[redis]==0.9.5; extra == 'test'
|
|
171
|
+
Requires-Dist: ag2[websockets]==0.9.5; extra == 'test'
|
|
172
|
+
Requires-Dist: fakeredis==2.30.1; extra == 'test'
|
|
173
173
|
Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'test'
|
|
174
174
|
Requires-Dist: pytest-asyncio==1.0.0; extra == 'test'
|
|
175
175
|
Requires-Dist: pytest-cov==6.2.1; extra == 'test'
|
|
176
|
+
Requires-Dist: pytest-env==1.1.5; extra == 'test'
|
|
176
177
|
Requires-Dist: pytest-html==4.1.1; extra == 'test'
|
|
177
178
|
Requires-Dist: pytest-sugar==1.0.0; extra == 'test'
|
|
178
179
|
Requires-Dist: pytest-timeout==2.4.0; extra == 'test'
|
|
179
|
-
Requires-Dist: pytest-xdist==3.
|
|
180
|
+
Requires-Dist: pytest-xdist==3.8.0; extra == 'test'
|
|
180
181
|
Requires-Dist: pytest==8.4.1; extra == 'test'
|
|
181
182
|
Provides-Extra: websockets
|
|
182
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
183
|
+
Requires-Dist: ag2[websockets]==0.9.5; extra == 'websockets'
|
|
183
184
|
Description-Content-Type: text/markdown
|
|
184
185
|
|
|
185
186
|
# Waldiez
|
|
@@ -27,7 +27,7 @@ classifiers = [
|
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
dependencies = [
|
|
30
|
-
"ag2[openai]==0.9.
|
|
30
|
+
"ag2[openai]==0.9.5",
|
|
31
31
|
"aiocsv==1.3.2",
|
|
32
32
|
"aiofiles==24.1.0",
|
|
33
33
|
"aiosqlite==0.21.0",
|
|
@@ -40,9 +40,9 @@ dependencies = [
|
|
|
40
40
|
"pip>=25",
|
|
41
41
|
"jupytext",
|
|
42
42
|
"parso==0.8.4",
|
|
43
|
-
"rpds-py==0.
|
|
43
|
+
"rpds-py==0.26.0",
|
|
44
44
|
"pydantic>=2.10.2,<3",
|
|
45
|
-
# ag2[together]==0.9.
|
|
45
|
+
# ag2[together]==0.9.5 depends on together>=1.2
|
|
46
46
|
# together>=1.2 depends on typer>=0.9,<0.16
|
|
47
47
|
"typer>=0.9.0,<1",
|
|
48
48
|
"click<8.2",
|
|
@@ -71,57 +71,57 @@ waldiez = "waldiez.cli:app"
|
|
|
71
71
|
[project.optional-dependencies]
|
|
72
72
|
# stream-io-extensions: redis, websockets, mqtt
|
|
73
73
|
redis = [
|
|
74
|
-
"ag2[redis]==0.9.
|
|
74
|
+
"ag2[redis]==0.9.5",
|
|
75
75
|
]
|
|
76
76
|
websockets = [
|
|
77
|
-
"ag2[websockets]==0.9.
|
|
77
|
+
"ag2[websockets]==0.9.5",
|
|
78
78
|
]
|
|
79
79
|
mqtt = [
|
|
80
80
|
"paho-mqtt>=2.1.0,<3.0",
|
|
81
81
|
]
|
|
82
82
|
# jupyterlab extension
|
|
83
83
|
jupyter = [
|
|
84
|
-
"waldiez_jupyter==0.5.
|
|
84
|
+
"waldiez_jupyter==0.5.3",
|
|
85
85
|
"jupyterlab>=4.3.0,<5.0",
|
|
86
86
|
"jupyter_server==2.16.0",
|
|
87
87
|
]
|
|
88
88
|
runner = [
|
|
89
|
-
"waldiez_runner==0.5.
|
|
89
|
+
"waldiez_runner==0.5.3; python_version >= '3.11'",
|
|
90
90
|
]
|
|
91
91
|
studio = [
|
|
92
|
-
"waldiez_studio==0.5.
|
|
92
|
+
"waldiez_studio==0.5.3",
|
|
93
93
|
]
|
|
94
94
|
ag2_extras = [
|
|
95
95
|
# models
|
|
96
|
-
"ag2[anthropic]==0.9.
|
|
97
|
-
"ag2[bedrock]==0.9.
|
|
98
|
-
"ag2[cohere]==0.9.
|
|
99
|
-
"ag2[gemini]==0.9.
|
|
100
|
-
"ag2[gemini]==0.9.
|
|
101
|
-
"ag2[groq]==0.9.
|
|
102
|
-
"ag2[lmm]==0.9.
|
|
103
|
-
"ag2[mistral]==0.9.
|
|
96
|
+
"ag2[anthropic]==0.9.5",
|
|
97
|
+
"ag2[bedrock]==0.9.5",
|
|
98
|
+
"ag2[cohere]==0.9.5",
|
|
99
|
+
"ag2[gemini]==0.9.5;sys_platform != 'win32'",
|
|
100
|
+
"ag2[gemini]==0.9.5;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
101
|
+
"ag2[groq]==0.9.5",
|
|
102
|
+
"ag2[lmm]==0.9.5",
|
|
103
|
+
"ag2[mistral]==0.9.5",
|
|
104
104
|
"mistralai>=1.8.1",
|
|
105
|
-
"ag2[ollama]==0.9.
|
|
106
|
-
"ag2[together]==0.9.
|
|
107
|
-
"ag2[together]==0.9.
|
|
105
|
+
"ag2[ollama]==0.9.5",
|
|
106
|
+
"ag2[together]==0.9.5;sys_platform != 'win32'",
|
|
107
|
+
"ag2[together]==0.9.5;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'", # utils
|
|
108
108
|
# utils
|
|
109
|
-
"ag2[websockets]==0.9.
|
|
110
|
-
"ag2[redis]==0.9.
|
|
109
|
+
"ag2[websockets]==0.9.5",
|
|
110
|
+
"ag2[redis]==0.9.5",
|
|
111
111
|
"crewai>=0.76,<1",
|
|
112
112
|
"opentelemetry-api>=1.34.0",
|
|
113
113
|
"opentelemetry-sdk>=1.34.0",
|
|
114
114
|
# "crewai-tools>=0.47.0;python_version >= '3.13'",
|
|
115
115
|
"crewai-tools<=0.46.0;python_version<'3.13'",
|
|
116
|
-
"ag2[interop-crewai]==0.9.
|
|
116
|
+
"ag2[interop-crewai]==0.9.5",
|
|
117
117
|
# "crewai>=0.126.0;python_version >= '3.13'",
|
|
118
118
|
# "crewai-tools>=0.47.0;python_version >= '3.13'",
|
|
119
119
|
"litellm",
|
|
120
120
|
"weaviate-client>=4,<5",
|
|
121
|
-
"ag2[interop-langchain]==0.9.
|
|
122
|
-
"ag2[neo4j]==0.9.
|
|
123
|
-
"ag2[neo4j]==0.9.
|
|
124
|
-
"ag2[websurfer]==0.9.
|
|
121
|
+
"ag2[interop-langchain]==0.9.5",
|
|
122
|
+
"ag2[neo4j]==0.9.5;sys_platform != 'win32'",
|
|
123
|
+
"ag2[neo4j]==0.9.5;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
124
|
+
"ag2[websurfer]==0.9.5",
|
|
125
125
|
"chromadb>=0.5.10;sys_platform != 'win32'",
|
|
126
126
|
"chromadb>=0.5.10;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
127
127
|
"pgvector>=0.4.0",
|
|
@@ -157,13 +157,13 @@ ag2_extras = [
|
|
|
157
157
|
"mcp>=1.4.0,<2",
|
|
158
158
|
]
|
|
159
159
|
dev = [
|
|
160
|
-
"ag2[redis]==0.9.
|
|
161
|
-
"ag2[websockets]==0.9.
|
|
160
|
+
"ag2[redis]==0.9.5",
|
|
161
|
+
"ag2[websockets]==0.9.5",
|
|
162
162
|
"autoflake==2.3.1",
|
|
163
|
-
"bandit==1.8.
|
|
163
|
+
"bandit==1.8.6",
|
|
164
164
|
"black[jupyter]==25.1.0",
|
|
165
165
|
"build==1.2.2.post1",
|
|
166
|
-
"fakeredis
|
|
166
|
+
"fakeredis==2.30.1",
|
|
167
167
|
"flake8==7.3.0",
|
|
168
168
|
"jsonschema==4.24.0",
|
|
169
169
|
"jupyterlab>=4.4.0,<5.0",
|
|
@@ -177,13 +177,13 @@ dev = [
|
|
|
177
177
|
"mypy==1.16.1",
|
|
178
178
|
"mypy-extensions>=1.1.0",
|
|
179
179
|
"paho-mqtt>=2.1.0,<3.0",
|
|
180
|
-
"pandas-stubs==2.
|
|
180
|
+
"pandas-stubs==2.3.0.250703",
|
|
181
181
|
"nodeenv>=1.9.1",
|
|
182
182
|
"pre-commit==4.2.0",
|
|
183
183
|
"pydocstyle==6.3.0",
|
|
184
184
|
"pylint==3.3.7",
|
|
185
|
-
"python-dotenv
|
|
186
|
-
"ruff==0.12.
|
|
185
|
+
"python-dotenv>=1.1.0",
|
|
186
|
+
"ruff==0.12.2",
|
|
187
187
|
"types-pyyaml==6.0.12.20250516",
|
|
188
188
|
"types-jsonschema==4.24.0.20250528",
|
|
189
189
|
"types-redis==4.6.0.20241004",
|
|
@@ -201,7 +201,7 @@ docs = [
|
|
|
201
201
|
"mkdocs-autorefs==1.4.2",
|
|
202
202
|
"mkdocs-jupyter==0.25.1",
|
|
203
203
|
"mkdocs-macros-plugin==1.3.7",
|
|
204
|
-
"mkdocs-material==9.6.
|
|
204
|
+
"mkdocs-material==9.6.15",
|
|
205
205
|
"mkdocs-minify-html-plugin==0.3.1",
|
|
206
206
|
"mkdocstrings[crystal,python]==0.29.1",
|
|
207
207
|
"mkdocstrings-crystal==0.3.7",
|
|
@@ -211,17 +211,18 @@ docs = [
|
|
|
211
211
|
"natsort==8.4.0",
|
|
212
212
|
]
|
|
213
213
|
test = [
|
|
214
|
-
"ag2[redis]==0.9.
|
|
215
|
-
"ag2[websockets]==0.9.
|
|
216
|
-
"fakeredis
|
|
214
|
+
"ag2[redis]==0.9.5",
|
|
215
|
+
"ag2[websockets]==0.9.5",
|
|
216
|
+
"fakeredis==2.30.1",
|
|
217
217
|
"paho-mqtt>=2.1.0,<3.0",
|
|
218
218
|
"pytest==8.4.1",
|
|
219
219
|
"pytest-asyncio==1.0.0",
|
|
220
220
|
"pytest-cov==6.2.1",
|
|
221
|
+
"pytest-env==1.1.5",
|
|
221
222
|
"pytest-html==4.1.1",
|
|
222
223
|
"pytest-sugar==1.0.0",
|
|
223
224
|
"pytest-timeout==2.4.0",
|
|
224
|
-
"pytest-xdist==3.
|
|
225
|
+
"pytest-xdist==3.8.0",
|
|
225
226
|
]
|
|
226
227
|
|
|
227
228
|
[tool.hatch.version]
|
|
@@ -263,39 +264,39 @@ installer = "uv"
|
|
|
263
264
|
dependencies = ["waldiez[dev,test,docs,ag2_extras,redis,websockets,mqtt]"]
|
|
264
265
|
|
|
265
266
|
[tool.hatch.envs.default.scripts]
|
|
266
|
-
pre-test =
|
|
267
|
-
python -m pip install --upgrade pip
|
|
268
|
-
pip install -r requirements/test.txt
|
|
269
|
-
|
|
270
|
-
test =
|
|
271
|
-
hatch run pre-test
|
|
272
|
-
pytest -c pyproject.toml --cov=waldiez --cov-branch --cov-report=term-missing:skip-covered --cov-report=lcov:coverage/py/lcov.info --cov-report=html:coverage/py/html --cov-report=xml:coverage/py/coverage.xml --junitxml=coverage/py/xunit.xml tests
|
|
273
|
-
|
|
274
|
-
test-models =
|
|
275
|
-
hatch run pre-test
|
|
276
|
-
pytest -c pyproject.toml --cov=waldiez/models --cov-branch --cov-report=term-missing:skip-covered -vv tests/models
|
|
277
|
-
|
|
278
|
-
test-exporting =
|
|
279
|
-
hatch run pre-test
|
|
280
|
-
pytest -c pyproject.toml --cov=waldiez/exporting --cov-branch --cov-report=term-missing:skip-covered -vv tests/exporting
|
|
281
|
-
|
|
282
|
-
test-io =
|
|
283
|
-
hatch run pre-test
|
|
284
|
-
pytest -c pyproject.toml --cov=waldiez/io --cov-branch --cov-report=term-missing:skip-covered -vv tests/io
|
|
285
|
-
|
|
286
|
-
test-running =
|
|
287
|
-
hatch run pre-test
|
|
288
|
-
pytest -c pyproject.toml --cov=waldiez/running --cov-branch --cov-report=term-missing:skip-covered -vv tests/running
|
|
289
|
-
|
|
267
|
+
pre-test = [
|
|
268
|
+
"python -m pip install -qq --upgrade pip",
|
|
269
|
+
"pip install -qq -r requirements/test.txt"
|
|
270
|
+
]
|
|
271
|
+
test = [
|
|
272
|
+
"hatch run pre-test",
|
|
273
|
+
"pytest -c pyproject.toml --cov=waldiez --cov-branch --cov-report=term-missing:skip-covered --cov-report=lcov:coverage/py/lcov.info --cov-report=html:coverage/py/html --cov-report=xml:coverage/py/coverage.xml --junitxml=coverage/py/xunit.xml tests",
|
|
274
|
+
]
|
|
275
|
+
test-models = [
|
|
276
|
+
"hatch run pre-test",
|
|
277
|
+
"pytest -c pyproject.toml --cov=waldiez/models --cov-branch --cov-report=term-missing:skip-covered -vv tests/models"
|
|
278
|
+
]
|
|
279
|
+
test-exporting = [
|
|
280
|
+
"hatch run pre-test",
|
|
281
|
+
"pytest -c pyproject.toml --cov=waldiez/exporting --cov-branch --cov-report=term-missing:skip-covered -vv tests/exporting"
|
|
282
|
+
]
|
|
283
|
+
test-io = [
|
|
284
|
+
"hatch run pre-test",
|
|
285
|
+
"pytest -c pyproject.toml --cov=waldiez/io --cov-branch --cov-report=term-missing:skip-covered -vv tests/io"
|
|
286
|
+
]
|
|
287
|
+
test-running = [
|
|
288
|
+
"hatch run pre-test",
|
|
289
|
+
"pytest -c pyproject.toml --cov=waldiez/running --cov-branch --cov-report=term-missing:skip-covered -vv tests/running"
|
|
290
|
+
]
|
|
290
291
|
|
|
291
292
|
format-black = "black --config pyproject.toml waldiez tests scripts"
|
|
292
293
|
format-autoflake = "autoflake --in-place --remove-all-unused-imports --remove-unused-variables --recursive waldiez tests scripts"
|
|
293
294
|
format-ruff = "ruff format --config pyproject.toml waldiez tests scripts"
|
|
294
|
-
format =
|
|
295
|
-
hatch run format-black
|
|
296
|
-
hatch run format-autoflake
|
|
297
|
-
hatch run format-ruff
|
|
298
|
-
|
|
295
|
+
format = [
|
|
296
|
+
"hatch run format-black",
|
|
297
|
+
"hatch run format-autoflake",
|
|
298
|
+
"hatch run format-ruff"
|
|
299
|
+
]
|
|
299
300
|
|
|
300
301
|
lint-black = "black --config pyproject.toml --check --diff waldiez tests scripts"
|
|
301
302
|
lint-mypy = "mypy --config pyproject.toml waldiez tests scripts"
|
|
@@ -304,20 +305,20 @@ lint-bandit = "bandit -r -c pyproject.toml waldiez scripts"
|
|
|
304
305
|
lint-yamllint = "yamllint ."
|
|
305
306
|
lint-ruff = "ruff check --config pyproject.toml waldiez tests scripts"
|
|
306
307
|
lint-pylint = "pylint --rcfile=pyproject.toml waldiez tests scripts"
|
|
307
|
-
lint =
|
|
308
|
-
hatch run lint-black
|
|
309
|
-
hatch run lint-mypy
|
|
310
|
-
hatch run lint-flake8
|
|
311
|
-
hatch run lint-bandit
|
|
312
|
-
hatch run lint-yamllint
|
|
313
|
-
hatch run lint-ruff
|
|
314
|
-
hatch run lint-pylint
|
|
315
|
-
|
|
308
|
+
lint = [
|
|
309
|
+
"hatch run lint-black",
|
|
310
|
+
"hatch run lint-mypy",
|
|
311
|
+
"hatch run lint-flake8",
|
|
312
|
+
"hatch run lint-bandit",
|
|
313
|
+
"hatch run lint-yamllint",
|
|
314
|
+
"hatch run lint-ruff",
|
|
315
|
+
"hatch run lint-pylint",
|
|
316
|
+
]
|
|
316
317
|
|
|
317
|
-
forlint =
|
|
318
|
-
hatch run format
|
|
319
|
-
hatch run lint
|
|
320
|
-
|
|
318
|
+
forlint = [
|
|
319
|
+
"hatch run format",
|
|
320
|
+
"hatch run lint"
|
|
321
|
+
]
|
|
321
322
|
|
|
322
323
|
clean = "python scripts/clean.py"
|
|
323
324
|
smoke = "python scripts/smoke.py"
|
|
@@ -329,29 +330,29 @@ docs-live = "python -m mkdocs serve --watch mkdocs.yml --watch docs --watch wald
|
|
|
329
330
|
build = "python -m build --wheel --sdist --outdir out/dist"
|
|
330
331
|
image = "python scripts/image.py"
|
|
331
332
|
|
|
332
|
-
check =
|
|
333
|
-
hatch run clean
|
|
334
|
-
hatch run format
|
|
335
|
-
hatch run lint
|
|
336
|
-
hatch run test
|
|
337
|
-
hatch run smoke
|
|
338
|
-
|
|
333
|
+
check = [
|
|
334
|
+
"hatch run clean",
|
|
335
|
+
"hatch run format",
|
|
336
|
+
"hatch run lint",
|
|
337
|
+
"hatch run test",
|
|
338
|
+
"hatch run smoke"
|
|
339
|
+
]
|
|
339
340
|
|
|
340
341
|
matrix-test = "hatch run test:test"
|
|
341
342
|
# alias
|
|
342
343
|
test-matrix = "hatch run test:test"
|
|
343
344
|
|
|
344
|
-
release =
|
|
345
|
-
hatch run check
|
|
346
|
-
hatch run matrix-test
|
|
347
|
-
hatch run docs
|
|
348
|
-
hatch run build
|
|
349
|
-
|
|
345
|
+
release = [
|
|
346
|
+
"hatch run check",
|
|
347
|
+
"hatch run matrix-test",
|
|
348
|
+
"hatch run docs",
|
|
349
|
+
"hatch run build"
|
|
350
|
+
]
|
|
350
351
|
|
|
351
|
-
all =
|
|
352
|
-
hatch run release
|
|
353
|
-
hatch run image
|
|
354
|
-
|
|
352
|
+
all = [
|
|
353
|
+
"hatch run release",
|
|
354
|
+
"hatch run image"
|
|
355
|
+
]
|
|
355
356
|
|
|
356
357
|
[tool.hatch.envs.test]
|
|
357
358
|
inherit = true
|
|
@@ -543,15 +544,7 @@ split-on-trailing-comma = true
|
|
|
543
544
|
|
|
544
545
|
# pytest
|
|
545
546
|
[tool.pytest.ini_options]
|
|
546
|
-
addopts = ""
|
|
547
|
-
-d \
|
|
548
|
-
-s \
|
|
549
|
-
-n auto \
|
|
550
|
-
--exitfirst \
|
|
551
|
-
--durations=10 \
|
|
552
|
-
--color=yes \
|
|
553
|
-
--timeout=120
|
|
554
|
-
"""
|
|
547
|
+
addopts = "-d -s -n auto --exitfirst --durations=10 --color=yes --timeout=120"
|
|
555
548
|
asyncio_default_fixture_loop_scope = "session"
|
|
556
549
|
asyncio_mode = "auto"
|
|
557
550
|
filterwarnings = [
|
|
@@ -566,7 +559,11 @@ python_files = [
|
|
|
566
559
|
"*_tests.py",
|
|
567
560
|
]
|
|
568
561
|
pythonpath = ["."]
|
|
569
|
-
|
|
562
|
+
#
|
|
563
|
+
env = [
|
|
564
|
+
"WALDIEZ_TESTING=1",
|
|
565
|
+
]
|
|
566
|
+
#
|
|
570
567
|
# coverage
|
|
571
568
|
[tool.coverage.run]
|
|
572
569
|
omit = [
|
|
@@ -139,6 +139,7 @@ def run(
|
|
|
139
139
|
structured,
|
|
140
140
|
not patch_io, # skip_patch_io
|
|
141
141
|
False, # skip_mmd
|
|
142
|
+
False, # skip_timeline
|
|
142
143
|
)
|
|
143
144
|
else:
|
|
144
145
|
runner.run(
|
|
@@ -148,6 +149,7 @@ def run(
|
|
|
148
149
|
threaded=threaded,
|
|
149
150
|
skip_patch_io=not patch_io,
|
|
150
151
|
skip_mmd=False,
|
|
152
|
+
skip_timeline=False,
|
|
151
153
|
)
|
|
152
154
|
|
|
153
155
|
|
|
@@ -353,8 +353,12 @@ class GroupManagerProcessor:
|
|
|
353
353
|
|
|
354
354
|
# Selection method
|
|
355
355
|
if speakers.selection_method != "custom":
|
|
356
|
+
selection_method = speakers.selection_method
|
|
357
|
+
if selection_method == "default":
|
|
358
|
+
# this only on pattern based group chats :(
|
|
359
|
+
selection_method = "auto"
|
|
356
360
|
config_lines.append(
|
|
357
|
-
f' speaker_selection_method="{
|
|
361
|
+
f' speaker_selection_method="{selection_method}",'
|
|
358
362
|
)
|
|
359
363
|
else:
|
|
360
364
|
# Custom selection method
|
|
@@ -103,10 +103,10 @@ class ChatsProcessor:
|
|
|
103
103
|
"""Process the chats export."""
|
|
104
104
|
self._gather_imports()
|
|
105
105
|
self._handle_chat_registrations()
|
|
106
|
-
chat_initiation = self.
|
|
106
|
+
chat_initiation = self._generate_chat_initiation()
|
|
107
107
|
self._extras.set_chat_initiation(chat_initiation)
|
|
108
108
|
|
|
109
|
-
def
|
|
109
|
+
def _generate_chat_initiation(self) -> str:
|
|
110
110
|
"""Generate the chat definition string.
|
|
111
111
|
|
|
112
112
|
Returns
|
|
@@ -120,7 +120,7 @@ class ChatsProcessor:
|
|
|
120
120
|
return export_group_chats(
|
|
121
121
|
agent_names=self._agent_names,
|
|
122
122
|
manager=self._root_group_manager,
|
|
123
|
-
|
|
123
|
+
initial_chat=None,
|
|
124
124
|
tabs=self._chat_tabs,
|
|
125
125
|
is_async=self._is_async,
|
|
126
126
|
)
|
|
@@ -139,7 +139,7 @@ class ChatsProcessor:
|
|
|
139
139
|
return export_group_chats(
|
|
140
140
|
agent_names=self._agent_names,
|
|
141
141
|
manager=recipient,
|
|
142
|
-
|
|
142
|
+
initial_chat=chat_massage_string,
|
|
143
143
|
tabs=self._chat_tabs,
|
|
144
144
|
is_async=self._is_async,
|
|
145
145
|
)
|
|
@@ -14,7 +14,7 @@ from waldiez.models import WaldiezGroupManager
|
|
|
14
14
|
def export_group_chats(
|
|
15
15
|
agent_names: dict[str, str],
|
|
16
16
|
manager: WaldiezGroupManager,
|
|
17
|
-
|
|
17
|
+
initial_chat: str | None,
|
|
18
18
|
tabs: int,
|
|
19
19
|
is_async: bool,
|
|
20
20
|
) -> str:
|
|
@@ -26,7 +26,7 @@ def export_group_chats(
|
|
|
26
26
|
The agent names.
|
|
27
27
|
manager : WaldiezGroupManager
|
|
28
28
|
The group manager agent.
|
|
29
|
-
|
|
29
|
+
initial_chat : str | None
|
|
30
30
|
The initial chat to use if any.
|
|
31
31
|
tabs : int
|
|
32
32
|
The number of tabs for indentation.
|
|
@@ -46,8 +46,8 @@ def export_group_chats(
|
|
|
46
46
|
pattern_name = f"{manager_name}_pattern"
|
|
47
47
|
content = f"{tab}results, _, __ = {initiate_group_chat}(" + "\n"
|
|
48
48
|
content += f"{tab} pattern={pattern_name}," + "\n"
|
|
49
|
-
if
|
|
50
|
-
content += f"{tab} messages={json.dumps(
|
|
49
|
+
if initial_chat:
|
|
50
|
+
content += f"{tab} messages={json.dumps(initial_chat)}," + "\n"
|
|
51
51
|
else:
|
|
52
52
|
content += f'{tab} messages="",\n'
|
|
53
53
|
content += f"{tab} max_rounds={manager.data.max_round},\n"
|
|
@@ -26,7 +26,7 @@ def export_single_chat(
|
|
|
26
26
|
tabs: int,
|
|
27
27
|
is_async: bool,
|
|
28
28
|
skip_cache: bool,
|
|
29
|
-
|
|
29
|
+
tab_length: int = 4,
|
|
30
30
|
) -> tuple[str, str]:
|
|
31
31
|
"""Get the chat string when there is only one chat in the flow.
|
|
32
32
|
|
|
@@ -50,7 +50,7 @@ def export_single_chat(
|
|
|
50
50
|
Whether the chat is asynchronous.
|
|
51
51
|
skip_cache : bool
|
|
52
52
|
Whether to skip the cache argument.
|
|
53
|
-
|
|
53
|
+
tab_length : int, optional
|
|
54
54
|
The length of the tab string, by default 4.
|
|
55
55
|
|
|
56
56
|
Returns
|
|
@@ -94,7 +94,7 @@ def export_single_chat(
|
|
|
94
94
|
)
|
|
95
95
|
```
|
|
96
96
|
"""
|
|
97
|
-
tab = " " *
|
|
97
|
+
tab = " " * tab_length * tabs if tabs > 0 else ""
|
|
98
98
|
chat_args = chat.get_chat_args(for_queue=False, sender=sender)
|
|
99
99
|
# chat_args = update_summary_chat_args(chat_args, skip_summary=True)
|
|
100
100
|
if not chat_args:
|
|
@@ -159,7 +159,7 @@ class WaldiezChatMessage(WaldiezBase):
|
|
|
159
159
|
)
|
|
160
160
|
content = self.content
|
|
161
161
|
if self.type == "rag_message_generator":
|
|
162
|
-
if self.use_carryover:
|
|
162
|
+
if not self.use_carryover:
|
|
163
163
|
content = get_last_carryover_method_content(
|
|
164
164
|
text_content=self.content or "",
|
|
165
165
|
)
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
from typing import Iterator, Set
|
|
6
6
|
|
|
7
|
+
from .predefined import get_predefined_tool_requirements
|
|
7
8
|
from .tool import WaldiezTool
|
|
8
9
|
|
|
9
10
|
|
|
@@ -31,6 +32,10 @@ def get_tools_extra_requirements(
|
|
|
31
32
|
tool_requirements.add(f"ag2[interop-langchain]=={autogen_version}")
|
|
32
33
|
if tool.tool_type == "crewai":
|
|
33
34
|
tool_requirements.add(f"ag2[interop-crewai]=={autogen_version}")
|
|
35
|
+
if tool.is_predefined:
|
|
36
|
+
tool_requirements.update(
|
|
37
|
+
get_predefined_tool_requirements(tool.name)
|
|
38
|
+
)
|
|
34
39
|
for requirement in tool.requirements:
|
|
35
40
|
tool_requirements.add(requirement)
|
|
36
41
|
return tool_requirements
|