ibm-watsonx-orchestrate 1.6.0__tar.gz → 1.6.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/PKG-INFO +2 -2
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/pyproject.toml +1 -1
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/__init__.py +1 -1
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/connections/connections.py +21 -7
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/connections/types.py +5 -9
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/connections/connections_controller.py +1 -1
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/environment/environment_controller.py +1 -1
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/tools/tools_controller.py +13 -5
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/docker/compose-lite.yml +1 -1
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/docker/default.env +6 -6
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/utils.py +1 -1
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/.gitignore +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/LICENSE +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/agents/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/agents/agent.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/agents/assistant_agent.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/agents/external_agent.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/agents/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/agents/webchat_customizations/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/agents/webchat_customizations/prompts.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/agents/webchat_customizations/welcome_content.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/connections/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/knowledge_bases/knowledge_base.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/knowledge_bases/knowledge_base_requests.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/knowledge_bases/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/model_policies/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/model_policies/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/models/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/models/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/toolkits/base_toolkit.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/toolkits/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/tools/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/tools/base_tool.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/tools/flow_tool.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/tools/openapi_tool.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/tools/python_tool.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/tools/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/utils/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/agent_builder/utils/pydantic_utils.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/agents/agents_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/agents/agents_controller.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/channels/channels_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/channels/channels_controller.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/channels/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/channels/webchat/channels_webchat_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/channels/webchat/channels_webchat_controller.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/chat/chat_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/connections/connections_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/environment/environment_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/environment/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/evaluations/evaluations_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/evaluations/evaluations_controller.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/knowledge_bases/knowledge_bases_controller.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/login/login_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/models/model_provider_mapper.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/models/models_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/models/models_controller.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/server/server_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/server/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/settings/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/settings/observability/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/settings/observability/langfuse/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/settings/observability/langfuse/langfuse_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/settings/observability/observability_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/settings/settings_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/toolkit/toolkit_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/toolkit/toolkit_controller.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/tools/tools_command.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/commands/tools/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/config.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/init_helper.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/cli/main.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/agents/agent_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/agents/assistant_agent_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/agents/external_agent_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/analytics/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/analytics/llm/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/analytics/llm/analytics_llm_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/base_api_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/base_service_instance.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/client_errors.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/connections/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/connections/connections_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/connections/utils.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/credentials.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/knowledge_bases/knowledge_base_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/local_service_instance.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/model_policies/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/model_policies/model_policies_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/models/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/models/models_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/service_instance.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/toolkit/toolkit_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/tools/tempus_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/tools/tool_client.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/client/utils.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/docker/proxy-config-single.yaml +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/docker/sdk/ibm_watsonx_orchestrate-0.6.0-py3-none-any.whl +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/docker/sdk/ibm_watsonx_orchestrate-0.6.0.tar.gz +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/docker/start-up.sh +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/docker/tempus/common-config.yaml +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/data_map.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/flows/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/flows/constants.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/flows/decorators.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/flows/events.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/flows/flow.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/node.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/resources/flow_status.openapi.yml +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/flow_builder/types.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/run/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/run/connections.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/utils/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/utils/logging/__init__.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/utils/logging/logger.py +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/utils/logging/logging.yaml +0 -0
- {ibm_watsonx_orchestrate-1.6.0 → ibm_watsonx_orchestrate-1.6.1}/src/ibm_watsonx_orchestrate/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ibm-watsonx-orchestrate
|
3
|
-
Version: 1.6.
|
3
|
+
Version: 1.6.1
|
4
4
|
Summary: IBM watsonx.orchestrate SDK
|
5
5
|
Author-email: IBM <support@ibm.com>
|
6
6
|
License: MIT License
|
@@ -11,7 +11,7 @@ Requires-Dist: click<8.2.0,>=8.0.0
|
|
11
11
|
Requires-Dist: docstring-parser<1.0,>=0.16
|
12
12
|
Requires-Dist: httpx<1.0.0,>=0.28.1
|
13
13
|
Requires-Dist: ibm-cloud-sdk-core>=3.22.0
|
14
|
-
Requires-Dist: ibm-watsonx-orchestrate-evaluation-framework==1.0.
|
14
|
+
Requires-Dist: ibm-watsonx-orchestrate-evaluation-framework==1.0.6
|
15
15
|
Requires-Dist: jsonref==1.1.0
|
16
16
|
Requires-Dist: jsonschema<5.0.0,>=4.23.0
|
17
17
|
Requires-Dist: langchain-community<1.0.0,>=0.3.12
|
@@ -8,6 +8,7 @@ from ibm_watsonx_orchestrate.agent_builder.connections.types import (
|
|
8
8
|
OAuth2TokenCredentials,
|
9
9
|
KeyValueConnectionCredentials,
|
10
10
|
ConnectionType,
|
11
|
+
ConnectionSecurityScheme,
|
11
12
|
CREDENTIALS,
|
12
13
|
CONNECTION_TYPE_CREDENTIAL_MAPPING
|
13
14
|
)
|
@@ -26,6 +27,18 @@ connection_type_requirements_mapping = {
|
|
26
27
|
KeyValueConnectionCredentials: None
|
27
28
|
}
|
28
29
|
|
30
|
+
connection_type_security_schema_map = {
|
31
|
+
ConnectionType.API_KEY_AUTH: ConnectionSecurityScheme.API_KEY_AUTH,
|
32
|
+
ConnectionType.BASIC_AUTH: ConnectionSecurityScheme.BASIC_AUTH,
|
33
|
+
ConnectionType.BEARER_TOKEN: ConnectionSecurityScheme.BEARER_TOKEN,
|
34
|
+
ConnectionType.KEY_VALUE: ConnectionSecurityScheme.KEY_VALUE,
|
35
|
+
ConnectionType.OAUTH2_AUTH_CODE: ConnectionSecurityScheme.OAUTH2,
|
36
|
+
ConnectionType.OAUTH2_CLIENT_CREDS: ConnectionSecurityScheme.OAUTH2,
|
37
|
+
ConnectionType.OAUTH_ON_BEHALF_OF_FLOW: ConnectionSecurityScheme.OAUTH2,
|
38
|
+
# ConnectionType.OAUTH2_IMPLICIT: ConnectionSecurityScheme.OAUTH2,
|
39
|
+
# ConnectionType.OAUTH2_PASSWORD: ConnectionSecurityScheme.OAUTH2
|
40
|
+
}
|
41
|
+
|
29
42
|
def _clean_env_vars(vars: dict[str:str], requirements: List[str], app_id: str) -> dict[str,str]:
|
30
43
|
base_prefix = _PREFIX_TEMPLATE.format(app_id=app_id)
|
31
44
|
|
@@ -75,10 +88,10 @@ def _build_credentials_model(credentials_type: type[CREDENTIALS], vars: dict[str
|
|
75
88
|
)
|
76
89
|
|
77
90
|
|
78
|
-
def _validate_schema_type(requested_type:
|
91
|
+
def _validate_schema_type(requested_type: ConnectionSecurityScheme, expected_type: ConnectionSecurityScheme) -> bool:
|
79
92
|
return expected_type == requested_type
|
80
93
|
|
81
|
-
def _get_credentials_model(connection_type:
|
94
|
+
def _get_credentials_model(connection_type: ConnectionSecurityScheme, app_id: str) -> type[CREDENTIALS]:
|
82
95
|
base_prefix = _PREFIX_TEMPLATE.format(app_id=app_id)
|
83
96
|
variables = {}
|
84
97
|
for key, value in os.environ.items():
|
@@ -93,7 +106,7 @@ def _get_credentials_model(connection_type: ConnectionType, app_id: str) -> type
|
|
93
106
|
|
94
107
|
return _build_credentials_model(credentials_type=credentials_type, vars=variables, base_prefix=base_prefix)
|
95
108
|
|
96
|
-
def get_connection_type(app_id: str) ->
|
109
|
+
def get_connection_type(app_id: str) -> ConnectionSecurityScheme:
|
97
110
|
sanitized_app_id = sanatize_app_id(app_id=app_id)
|
98
111
|
expected_schema_key = f"WXO_SECURITY_SCHEMA_{sanitized_app_id}"
|
99
112
|
expected_schema = os.environ.get(expected_schema_key)
|
@@ -103,7 +116,7 @@ def get_connection_type(app_id: str) -> ConnectionType:
|
|
103
116
|
logger.error(message)
|
104
117
|
raise ValueError(message)
|
105
118
|
|
106
|
-
auth_types = {e.value for e in
|
119
|
+
auth_types = {e.value for e in ConnectionSecurityScheme}
|
107
120
|
if expected_schema not in auth_types:
|
108
121
|
message = f"The expected type '{expected_schema}' cannot be resolved into a valid connection auth type ({', '.join(list(auth_types))})"
|
109
122
|
logger.error(message)
|
@@ -114,10 +127,11 @@ def get_connection_type(app_id: str) -> ConnectionType:
|
|
114
127
|
def get_application_connection_credentials(type: ConnectionType, app_id: str) -> CREDENTIALS:
|
115
128
|
sanitized_app_id = sanatize_app_id(app_id=app_id)
|
116
129
|
expected_schema = get_connection_type(app_id=app_id)
|
130
|
+
requested_schema = connection_type_security_schema_map.get(type)
|
117
131
|
|
118
|
-
if not _validate_schema_type(requested_type=
|
119
|
-
message = f"The requested type '{
|
132
|
+
if not _validate_schema_type(requested_type=requested_schema, expected_type=expected_schema):
|
133
|
+
message = f"The requested type '{requested_schema}' does not match the type '{expected_schema}' for the connection '{app_id}'"
|
120
134
|
logger.error(message)
|
121
135
|
raise ValueError(message)
|
122
136
|
|
123
|
-
return _get_credentials_model(connection_type=
|
137
|
+
return _get_credentials_model(connection_type=requested_schema, app_id=sanitized_app_id)
|
@@ -244,15 +244,11 @@ CONNECTION_KIND_OAUTH_TYPE_MAPPING = {
|
|
244
244
|
}
|
245
245
|
|
246
246
|
CONNECTION_TYPE_CREDENTIAL_MAPPING = {
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
# ConnectionType.OAUTH2_PASSWORD: OAuth2TokenCredentials,
|
253
|
-
ConnectionType.OAUTH2_CLIENT_CREDS: OAuth2TokenCredentials,
|
254
|
-
ConnectionType.OAUTH_ON_BEHALF_OF_FLOW: OAuth2TokenCredentials,
|
255
|
-
ConnectionType.KEY_VALUE: KeyValueConnectionCredentials,
|
247
|
+
ConnectionSecurityScheme.BASIC_AUTH: BasicAuthCredentials,
|
248
|
+
ConnectionSecurityScheme.BEARER_TOKEN: BearerTokenAuthCredentials,
|
249
|
+
ConnectionSecurityScheme.API_KEY_AUTH: APIKeyAuthCredentials,
|
250
|
+
ConnectionSecurityScheme.OAUTH2: OAuth2TokenCredentials,
|
251
|
+
ConnectionSecurityScheme.KEY_VALUE: KeyValueConnectionCredentials,
|
256
252
|
}
|
257
253
|
|
258
254
|
class IdentityProviderCredentials(BaseModel):
|
@@ -346,7 +346,7 @@ def add_connection(app_id: str) -> None:
|
|
346
346
|
status_code = response.status_code
|
347
347
|
try:
|
348
348
|
if status_code == 409:
|
349
|
-
response_text = f"Failed to create connection. A connection with the App ID '{app_id}' already exists. Please select a
|
349
|
+
response_text = f"Failed to create connection. A connection with the App ID '{app_id}' already exists. Please select a different App ID or delete the existing resource."
|
350
350
|
else:
|
351
351
|
resp = json.loads(response_text)
|
352
352
|
response_text = resp.get('detail')
|
@@ -167,7 +167,7 @@ def activate(name: str, apikey: str=None, username: str=None, password: str=None
|
|
167
167
|
|
168
168
|
def add(name: str, url: str, should_activate: bool=False, iam_url: str=None, type: EnvironmentAuthType=None, insecure: bool=None, verify: str=None) -> None:
|
169
169
|
if name == PROTECTED_ENV_NAME:
|
170
|
-
logger.error(f"The name '{PROTECTED_ENV_NAME}' is a reserved environment name. Please select a
|
170
|
+
logger.error(f"The name '{PROTECTED_ENV_NAME}' is a reserved environment name. Please select a different name or use `orchestrate env activate {PROTECTED_ENV_NAME}` to swap to '{PROTECTED_ENV_NAME}'")
|
171
171
|
return
|
172
172
|
|
173
173
|
cfg = Config()
|
@@ -102,6 +102,10 @@ def validate_app_ids(kind: ToolKind, **args) -> None:
|
|
102
102
|
if app_id not in imported_connections:
|
103
103
|
logger.warning(f"No connection found for provided app-id '{app_id}'. Please create the connection using `orchestrate connections add`")
|
104
104
|
else:
|
105
|
+
# Validate that the connection is not key_value when the tool in openapi
|
106
|
+
if kind != ToolKind.openapi:
|
107
|
+
continue
|
108
|
+
|
105
109
|
environments = _get_connection_environments()
|
106
110
|
|
107
111
|
imported_connection = imported_connections.get(app_id)
|
@@ -110,13 +114,15 @@ def validate_app_ids(kind: ToolKind, **args) -> None:
|
|
110
114
|
conn = imported_connection.get(conn_environment)
|
111
115
|
|
112
116
|
if conn is None or conn.security_scheme is None:
|
113
|
-
|
117
|
+
message = f"Connection '{app_id}' is not configured in the '{conn_environment}' environment."
|
114
118
|
if conn_environment == ConnectionEnvironment.DRAFT:
|
119
|
+
logger.error(message)
|
115
120
|
sys.exit(1)
|
116
|
-
|
121
|
+
else:
|
122
|
+
logger.warning(message + " If you deploy this tool without setting the live configuration the tool will error during execution.")
|
117
123
|
continue
|
118
124
|
|
119
|
-
if
|
125
|
+
if conn.security_scheme == ConnectionSecurityScheme.KEY_VALUE:
|
120
126
|
logger.error(f"Key value application connections can not be bound to an openapi tool")
|
121
127
|
exit(1)
|
122
128
|
|
@@ -231,10 +237,12 @@ def validate_python_connections(tool: BaseTool):
|
|
231
237
|
conn = imported_connection.get(conn_environment)
|
232
238
|
conn_identifier = conn.app_id if conn is not None else connection_id
|
233
239
|
if conn is None or conn.security_scheme is None:
|
234
|
-
|
240
|
+
message = f"Connection '{conn_identifier}' is not configured in the '{conn_environment}' environment."
|
235
241
|
if conn_environment == ConnectionEnvironment.DRAFT:
|
242
|
+
logger.error(message)
|
236
243
|
sys.exit(1)
|
237
|
-
|
244
|
+
else:
|
245
|
+
logger.warning(message + " If you deploy this tool without setting the live configuration the tool will error during execution.")
|
238
246
|
continue
|
239
247
|
|
240
248
|
imported_connection_auth_type = get_connection_type(security_scheme=conn.security_scheme, auth_type=conn.auth_type)
|
@@ -120,7 +120,7 @@ services:
|
|
120
120
|
TEMPUS_RUNTIME_ENDPOINT: http://wxo-tempus-runtime:9044
|
121
121
|
CONNECTIONS_MANAGER_ENDPOINT: http://wxo-server-connection-manager:3001
|
122
122
|
AGENT_OPS_API_KEY: ${AGENTOPS_API_KEY}
|
123
|
-
AGENTS_OPS_RUNTIME_ENDPOINT: https://
|
123
|
+
AGENTS_OPS_RUNTIME_ENDPOINT: https://frontend-server:443
|
124
124
|
IS_OBSERVABILITY_FEATURE_ENABLED: "true"
|
125
125
|
ALLOW_INSECURE_TLS: "true"
|
126
126
|
command: 'npm start'
|
@@ -53,13 +53,13 @@ EVENT_BROKER_TTL="-1"
|
|
53
53
|
REGISTRY_URL=
|
54
54
|
|
55
55
|
|
56
|
-
SERVER_TAG=
|
56
|
+
SERVER_TAG=02-07-2025
|
57
57
|
SERVER_REGISTRY=
|
58
58
|
|
59
|
-
WORKER_TAG=
|
59
|
+
WORKER_TAG=02-07-2025
|
60
60
|
WORKER_REGISTRY=
|
61
61
|
|
62
|
-
AI_GATEWAY_TAG=
|
62
|
+
AI_GATEWAY_TAG=01-07-2025
|
63
63
|
AI_GATEWAY_REGISTRY=
|
64
64
|
|
65
65
|
AGENT_GATEWAY_TAG=23-06-2025
|
@@ -84,17 +84,17 @@ TRM_REGISTRY=
|
|
84
84
|
TR_TAG=26-06-2025
|
85
85
|
TR_REGISTRY=
|
86
86
|
|
87
|
-
BUILDER_TAG=
|
87
|
+
BUILDER_TAG=02-07-2025
|
88
88
|
BUILDER_REGISTRY=
|
89
89
|
|
90
90
|
FLOW_RUNTIME_TAG=23-06-2025
|
91
91
|
FLOW_RUMTIME_REGISTRY=
|
92
92
|
|
93
93
|
|
94
|
-
AGENT_ANALYTICS_TAG=
|
94
|
+
AGENT_ANALYTICS_TAG=02-07-2025-v1
|
95
95
|
AGENT_ANALYTICS_REGISTRY=
|
96
96
|
|
97
|
-
JAEGER_PROXY_TAG=
|
97
|
+
JAEGER_PROXY_TAG=01-07-2025
|
98
98
|
JAEGER_PROXY_REGISTRY=
|
99
99
|
|
100
100
|
SOCKET_HANDLER_TAG=29-05-2025
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|