datarobot-genai 0.2.8__tar.gz → 0.2.10__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.
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/PKG-INFO +1 -1
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/pyproject.toml +1 -2
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/utils/auth.py +31 -188
- datarobot_genai-0.2.10/src/datarobot_genai/drmcp/tools/clients/confluence.py +196 -0
- datarobot_genai-0.2.10/src/datarobot_genai/drmcp/tools/confluence/tools.py +81 -0
- datarobot_genai-0.2.8/src/datarobot_genai/drmcp/tools/clients/confluence.py +0 -14
- datarobot_genai-0.2.8/src/datarobot_genai/drmcp/tools/confluence/tools.py +0 -13
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/.gitignore +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/AUTHORS +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/LICENSE +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/README.md +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/agents/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/agents/base.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/chat/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/chat/auth.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/chat/client.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/chat/responses.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/cli/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/cli/agent_environment.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/cli/agent_kernel.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/custom_model.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/mcp/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/mcp/common.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/telemetry_agent.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/utils/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/utils/urls.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/crewai/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/crewai/agent.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/crewai/base.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/crewai/events.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/crewai/mcp.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/auth.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/clients.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/config.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/config_utils.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/constants.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/credentials.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dr_mcp_server.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dr_mcp_server_logo.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_prompts/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_prompts/controllers.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_prompts/dr_lib.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_prompts/register.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_prompts/utils.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/adapters/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/adapters/base.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/adapters/default.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/adapters/drum.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/config.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/controllers.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/metadata.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/register.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/schemas/drum_agentic_fallback_schema.json +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/deployment/schemas/drum_prediction_fallback_schema.json +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/register.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dynamic_tools/schema.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/exceptions.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/logging.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/mcp_instance.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/mcp_server_tools.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/memory_management/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/memory_management/manager.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/memory_management/memory_tools.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/routes.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/routes_utils.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/server_life_cycle.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/telemetry.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/tool_config.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/tool_filter.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/utils.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/server.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/test_utils/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/test_utils/integration_mcp_server.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/test_utils/mcp_utils_ete.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/test_utils/mcp_utils_integration.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/test_utils/openai_llm_mcp_client.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/test_utils/tool_base_ete.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/test_utils/utils.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/clients/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/clients/atlassian.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/clients/jira.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/clients/s3.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/confluence/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/jira/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/jira/tools.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/data.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/deployment.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/deployment_info.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/model.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/predict.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/predict_realtime.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/project.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/training.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/langgraph/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/langgraph/agent.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/langgraph/mcp.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/llama_index/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/llama_index/agent.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/llama_index/base.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/llama_index/mcp.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/nat/__init__.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/nat/agent.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/nat/datarobot_auth_provider.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/nat/datarobot_llm_clients.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/nat/datarobot_llm_providers.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/nat/datarobot_mcp_client.py +0 -0
- {datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/py.typed +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "datarobot-genai"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.10"
|
|
8
8
|
description = "Generic helpers for GenAI"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10, <3.13"
|
|
@@ -128,7 +128,6 @@ dev = [
|
|
|
128
128
|
"pytest-asyncio>=0.23.5",
|
|
129
129
|
"responses>=0.25.8",
|
|
130
130
|
"ipdb>=0.13.13",
|
|
131
|
-
"aioresponses>=0.7.8",
|
|
132
131
|
]
|
|
133
132
|
|
|
134
133
|
|
|
@@ -12,23 +12,17 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
import logging
|
|
15
|
-
import os
|
|
16
15
|
import warnings
|
|
17
16
|
from typing import Any
|
|
18
|
-
from typing import Protocol
|
|
19
17
|
|
|
20
|
-
import aiohttp
|
|
21
18
|
import jwt
|
|
22
|
-
from datarobot.auth.datarobot.oauth import AsyncOAuth as
|
|
23
|
-
from datarobot.auth.exceptions import OAuthProviderNotFound
|
|
24
|
-
from datarobot.auth.exceptions import OAuthValidationErr
|
|
19
|
+
from datarobot.auth.datarobot.oauth import AsyncOAuth as DatarobotAsyncOAuthClient
|
|
25
20
|
from datarobot.auth.identity import Identity
|
|
26
|
-
from datarobot.auth.oauth import
|
|
21
|
+
from datarobot.auth.oauth import AsyncOAuthComponent
|
|
27
22
|
from datarobot.auth.session import AuthCtx
|
|
28
23
|
from datarobot.core.config import DataRobotAppFrameworkBaseSettings
|
|
29
24
|
from datarobot.models.genai.agent.auth import ToolAuth
|
|
30
25
|
from datarobot.models.genai.agent.auth import get_authorization_context
|
|
31
|
-
from mypyc.ir.ops import Sequence
|
|
32
26
|
from pydantic import BaseModel
|
|
33
27
|
|
|
34
28
|
logger = logging.getLogger(__name__)
|
|
@@ -189,203 +183,52 @@ class AuthContextHeaderHandler:
|
|
|
189
183
|
return None
|
|
190
184
|
|
|
191
185
|
|
|
192
|
-
# --- OAuth Token Provider Implementation ---
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
class TokenRetriever(Protocol):
|
|
196
|
-
"""Protocol for OAuth token retrievers."""
|
|
197
|
-
|
|
198
|
-
def filter_identities(self, identities: Sequence[Identity]) -> list[Identity]:
|
|
199
|
-
"""Filter identities to only those valid for this retriever implementation."""
|
|
200
|
-
...
|
|
201
|
-
|
|
202
|
-
async def refresh_access_token(self, identity: Identity) -> OAuthToken:
|
|
203
|
-
"""Refresh the access token for the given identity ID.
|
|
204
|
-
|
|
205
|
-
Parameters
|
|
206
|
-
----------
|
|
207
|
-
identity_id : str
|
|
208
|
-
The provider identity ID to refresh the token for.
|
|
209
|
-
|
|
210
|
-
Returns
|
|
211
|
-
-------
|
|
212
|
-
OAuthToken
|
|
213
|
-
The refreshed OAuth token.
|
|
214
|
-
"""
|
|
215
|
-
...
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
class DatarobotTokenRetriever:
|
|
219
|
-
"""Retrieves OAuth tokens using the DataRobot platform."""
|
|
220
|
-
|
|
221
|
-
def __init__(self) -> None:
|
|
222
|
-
self._client = DatarobotOAuthClient()
|
|
223
|
-
|
|
224
|
-
def filter_identities(self, identities: Sequence[Identity]) -> list[Identity]:
|
|
225
|
-
"""Filter oauth2 identities to only those with provider_identity_id.
|
|
226
|
-
|
|
227
|
-
The `provider_identity_id` is required in order to identify the provider
|
|
228
|
-
and retrieve the access token from DataRobot OAuth Providers service.
|
|
229
|
-
"""
|
|
230
|
-
return [i for i in identities if i.type == "oauth2" and i.provider_identity_id]
|
|
231
|
-
|
|
232
|
-
async def refresh_access_token(self, identity: Identity) -> OAuthToken:
|
|
233
|
-
"""Refresh the access token using DataRobot's OAuth client."""
|
|
234
|
-
return await self._client.refresh_access_token(provider_id=identity.provider_identity_id)
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
class AuthlibTokenRetriever:
|
|
238
|
-
"""Retrieves OAuth tokens from a generic Authlib-based endpoint."""
|
|
239
|
-
|
|
240
|
-
def __init__(self, application_endpoint: str) -> None:
|
|
241
|
-
if not application_endpoint:
|
|
242
|
-
raise ValueError("AuthlibTokenRetriever requires 'application_endpoint'.")
|
|
243
|
-
self.application_endpoint = application_endpoint.rstrip("/")
|
|
244
|
-
|
|
245
|
-
def filter_identities(self, identities: Sequence[Identity]) -> list[Identity]:
|
|
246
|
-
"""Filter identities to only OAuth2 identities."""
|
|
247
|
-
return [i for i in identities if i.type == "oauth2" and i.provider_identity_id is None]
|
|
248
|
-
|
|
249
|
-
async def refresh_access_token(self, identity: Identity) -> OAuthToken:
|
|
250
|
-
"""Retrieve an OAuth token via an HTTP POST request.
|
|
251
|
-
|
|
252
|
-
Parameters
|
|
253
|
-
----------
|
|
254
|
-
identity : Identity
|
|
255
|
-
The identity to retrieve the token for.
|
|
256
|
-
|
|
257
|
-
Returns
|
|
258
|
-
-------
|
|
259
|
-
OAuthToken
|
|
260
|
-
The retrieved OAuth token.
|
|
261
|
-
"""
|
|
262
|
-
api_token = os.environ.get("DATAROBOT_API_TOKEN")
|
|
263
|
-
if not api_token:
|
|
264
|
-
raise ValueError("DATAROBOT_API_TOKEN environment variable is required but not set.")
|
|
265
|
-
|
|
266
|
-
token_url = f"{self.application_endpoint}/oauth/token/"
|
|
267
|
-
headers = {"Authorization": f"Bearer {api_token}"}
|
|
268
|
-
payload = {"identity_id": identity.id}
|
|
269
|
-
timeout = aiohttp.ClientTimeout(total=30)
|
|
270
|
-
|
|
271
|
-
try:
|
|
272
|
-
async with aiohttp.ClientSession(timeout=timeout) as session:
|
|
273
|
-
async with session.post(token_url, headers=headers, json=payload) as response:
|
|
274
|
-
response.raise_for_status()
|
|
275
|
-
data = await response.json()
|
|
276
|
-
logger.debug(f"Retrieved access token from {token_url}")
|
|
277
|
-
return OAuthToken(**data)
|
|
278
|
-
except aiohttp.ClientError as e:
|
|
279
|
-
logger.error(f"Error retrieving token from {token_url}: {e}")
|
|
280
|
-
raise
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
class OAuthConfig(BaseModel):
|
|
284
|
-
"""Configuration extracted from AuthCtx metadata for OAuth operations."""
|
|
285
|
-
|
|
286
|
-
implementation: str = "datarobot"
|
|
287
|
-
application_endpoint: str | None = None
|
|
288
|
-
|
|
289
|
-
@classmethod
|
|
290
|
-
def from_auth_ctx(cls, auth_ctx: AuthCtx) -> "OAuthConfig":
|
|
291
|
-
metadata = auth_ctx.metadata or {}
|
|
292
|
-
return cls(
|
|
293
|
-
implementation=metadata.get("oauth_implementation", "datarobot"),
|
|
294
|
-
application_endpoint=metadata.get("application_endpoint"),
|
|
295
|
-
)
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
def create_token_retriever(config: OAuthConfig) -> TokenRetriever:
|
|
299
|
-
"""Create a token retriever based on the OAuth configuration.
|
|
300
|
-
|
|
301
|
-
Parameters
|
|
302
|
-
----------
|
|
303
|
-
config : OAuthConfig
|
|
304
|
-
The OAuth configuration specifying implementation type and endpoints.
|
|
305
|
-
|
|
306
|
-
Returns
|
|
307
|
-
-------
|
|
308
|
-
TokenRetriever
|
|
309
|
-
The configured token retriever instance.
|
|
310
|
-
"""
|
|
311
|
-
if config.implementation == "datarobot":
|
|
312
|
-
return DatarobotTokenRetriever()
|
|
313
|
-
|
|
314
|
-
if config.implementation == "authlib":
|
|
315
|
-
if not config.application_endpoint:
|
|
316
|
-
raise ValueError("Required 'application_endpoint' not found in metadata.")
|
|
317
|
-
return AuthlibTokenRetriever(config.application_endpoint)
|
|
318
|
-
|
|
319
|
-
raise ValueError(
|
|
320
|
-
f"Unsupported OAuth implementation: '{config.implementation}'. "
|
|
321
|
-
f"Supported values: datarobot, authlib."
|
|
322
|
-
)
|
|
323
|
-
|
|
324
|
-
|
|
325
186
|
class AsyncOAuthTokenProvider:
|
|
326
|
-
"""
|
|
327
|
-
|
|
328
|
-
This class manages OAuth token retrieval for users with multiple identity providers.
|
|
329
|
-
It uses either DataRobot or Authlib as the OAuth token storage and refresh backend
|
|
330
|
-
based on the auth context metadata.
|
|
331
|
-
"""
|
|
187
|
+
"""Manages OAuth access tokens using generic OAuth client."""
|
|
332
188
|
|
|
333
189
|
def __init__(self, auth_ctx: AuthCtx) -> None:
|
|
334
|
-
"""Initialize the provider with an authorization context.
|
|
335
|
-
|
|
336
|
-
Parameters
|
|
337
|
-
----------
|
|
338
|
-
auth_ctx : AuthCtx
|
|
339
|
-
The authorization context containing user identities and metadata.
|
|
340
|
-
"""
|
|
341
190
|
self.auth_ctx = auth_ctx
|
|
342
|
-
|
|
343
|
-
self._retriever = create_token_retriever(config)
|
|
191
|
+
self.oauth_client = self._create_oauth_client()
|
|
344
192
|
|
|
345
193
|
def _get_identity(self, provider_type: str | None) -> Identity:
|
|
346
|
-
"""
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
194
|
+
"""Retrieve the appropriate identity from the authentication context."""
|
|
195
|
+
identities = [x for x in self.auth_ctx.identities if x.provider_identity_id is not None]
|
|
196
|
+
|
|
197
|
+
if not identities:
|
|
198
|
+
raise ValueError("No identities found in authorization context.")
|
|
350
199
|
|
|
351
200
|
if provider_type is None:
|
|
352
|
-
if len(
|
|
353
|
-
raise
|
|
354
|
-
"Multiple
|
|
201
|
+
if len(identities) > 1:
|
|
202
|
+
raise ValueError(
|
|
203
|
+
"Multiple identities found. Please specify 'provider_type' parameter."
|
|
355
204
|
)
|
|
356
|
-
return
|
|
205
|
+
return identities[0]
|
|
206
|
+
|
|
207
|
+
identity = next((id for id in identities if id.provider_type == provider_type), None)
|
|
357
208
|
|
|
358
|
-
identity = next((i for i in oauth_identities if i.provider_type == provider_type), None)
|
|
359
209
|
if identity is None:
|
|
360
|
-
raise
|
|
210
|
+
raise ValueError(f"No identity found for provider '{provider_type}'.")
|
|
211
|
+
|
|
361
212
|
return identity
|
|
362
213
|
|
|
363
214
|
async def get_token(self, auth_type: ToolAuth, provider_type: str | None = None) -> str:
|
|
364
|
-
"""Get
|
|
365
|
-
|
|
366
|
-
Parameters
|
|
367
|
-
----------
|
|
368
|
-
auth_type : ToolAuth
|
|
369
|
-
Authentication type (only OBO is supported).
|
|
370
|
-
provider_type : str, optional
|
|
371
|
-
The specific provider to use (e.g., 'google'). Required if multiple
|
|
372
|
-
identities are available.
|
|
373
|
-
|
|
374
|
-
Returns
|
|
375
|
-
-------
|
|
376
|
-
str
|
|
377
|
-
The retrieved OAuth access token.
|
|
378
|
-
|
|
379
|
-
Raises
|
|
380
|
-
------
|
|
381
|
-
ValueError
|
|
382
|
-
If the auth type is unsupported or if a suitable identity cannot be found.
|
|
383
|
-
"""
|
|
215
|
+
"""Get OAuth access token using the specified method."""
|
|
384
216
|
if auth_type != ToolAuth.OBO:
|
|
385
217
|
raise ValueError(
|
|
386
|
-
f"Unsupported auth type: {auth_type}. Only OBO
|
|
218
|
+
f"Unsupported auth type: {auth_type}. Only {ToolAuth.OBO} is supported."
|
|
387
219
|
)
|
|
388
220
|
|
|
389
221
|
identity = self._get_identity(provider_type)
|
|
390
|
-
token_data = await self.
|
|
222
|
+
token_data = await self.oauth_client.refresh_access_token(
|
|
223
|
+
identity_id=identity.provider_identity_id
|
|
224
|
+
)
|
|
391
225
|
return token_data.access_token
|
|
226
|
+
|
|
227
|
+
def _create_oauth_client(self) -> AsyncOAuthComponent:
|
|
228
|
+
"""Create either DataRobot or Authlib OAuth client based on
|
|
229
|
+
authorization context.
|
|
230
|
+
|
|
231
|
+
Note: at the moment, only DataRobot OAuth client is supported.
|
|
232
|
+
"""
|
|
233
|
+
logger.debug("Using DataRobot OAuth client")
|
|
234
|
+
return DatarobotAsyncOAuthClient()
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
# Copyright 2025 DataRobot, Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Async client for interacting with Confluence Cloud REST API.
|
|
16
|
+
|
|
17
|
+
At the moment of creating this client, official Confluence SDK is not supporting async.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
import logging
|
|
21
|
+
from http import HTTPStatus
|
|
22
|
+
from typing import Any
|
|
23
|
+
|
|
24
|
+
import httpx
|
|
25
|
+
from pydantic import BaseModel
|
|
26
|
+
from pydantic import Field
|
|
27
|
+
|
|
28
|
+
from .atlassian import ATLASSIAN_API_BASE
|
|
29
|
+
from .atlassian import get_atlassian_cloud_id
|
|
30
|
+
|
|
31
|
+
logger = logging.getLogger(__name__)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class ConfluencePage(BaseModel):
|
|
35
|
+
"""Pydantic model for Confluence page."""
|
|
36
|
+
|
|
37
|
+
page_id: str = Field(..., description="The unique page ID")
|
|
38
|
+
title: str = Field(..., description="Page title")
|
|
39
|
+
space_id: str = Field(..., description="Space ID where the page resides")
|
|
40
|
+
space_key: str | None = Field(None, description="Space key (if available)")
|
|
41
|
+
body: str = Field(..., description="Page content in storage format (HTML-like)")
|
|
42
|
+
|
|
43
|
+
def as_flat_dict(self) -> dict[str, Any]:
|
|
44
|
+
"""Return a flat dictionary representation of the page."""
|
|
45
|
+
return {
|
|
46
|
+
"page_id": self.page_id,
|
|
47
|
+
"title": self.title,
|
|
48
|
+
"space_id": self.space_id,
|
|
49
|
+
"space_key": self.space_key,
|
|
50
|
+
"body": self.body,
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class ConfluenceClient:
|
|
55
|
+
"""
|
|
56
|
+
Client for interacting with Confluence API using OAuth access token.
|
|
57
|
+
|
|
58
|
+
At the moment of creating this client, official Confluence SDK is not supporting async.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
EXPAND_FIELDS = "body.storage,space"
|
|
62
|
+
|
|
63
|
+
def __init__(self, access_token: str) -> None:
|
|
64
|
+
"""
|
|
65
|
+
Initialize Confluence client with access token.
|
|
66
|
+
|
|
67
|
+
Args:
|
|
68
|
+
access_token: OAuth access token for Atlassian API
|
|
69
|
+
"""
|
|
70
|
+
self.access_token = access_token
|
|
71
|
+
self._client = httpx.AsyncClient(
|
|
72
|
+
headers={
|
|
73
|
+
"Authorization": f"Bearer {access_token}",
|
|
74
|
+
"Accept": "application/json",
|
|
75
|
+
"Content-Type": "application/json",
|
|
76
|
+
},
|
|
77
|
+
timeout=30.0,
|
|
78
|
+
)
|
|
79
|
+
self._cloud_id: str | None = None
|
|
80
|
+
|
|
81
|
+
async def _get_cloud_id(self) -> str:
|
|
82
|
+
"""
|
|
83
|
+
Get the cloud ID for the authenticated Atlassian Confluence instance.
|
|
84
|
+
|
|
85
|
+
According to Atlassian OAuth 2.0 documentation, API calls should use:
|
|
86
|
+
https://api.atlassian.com/ex/confluence/{cloudId}/wiki/rest/api/...
|
|
87
|
+
|
|
88
|
+
Returns
|
|
89
|
+
-------
|
|
90
|
+
Cloud ID string
|
|
91
|
+
|
|
92
|
+
Raises
|
|
93
|
+
------
|
|
94
|
+
ValueError: If cloud ID cannot be retrieved
|
|
95
|
+
"""
|
|
96
|
+
if self._cloud_id:
|
|
97
|
+
return self._cloud_id
|
|
98
|
+
|
|
99
|
+
self._cloud_id = await get_atlassian_cloud_id(self._client, service_type="confluence")
|
|
100
|
+
return self._cloud_id
|
|
101
|
+
|
|
102
|
+
def _parse_response(self, data: dict) -> ConfluencePage:
|
|
103
|
+
"""Parse API response into ConfluencePage."""
|
|
104
|
+
body_content = ""
|
|
105
|
+
body = data.get("body", {})
|
|
106
|
+
if isinstance(body, dict):
|
|
107
|
+
storage = body.get("storage", {})
|
|
108
|
+
if isinstance(storage, dict):
|
|
109
|
+
body_content = storage.get("value", "")
|
|
110
|
+
|
|
111
|
+
space = data.get("space", {})
|
|
112
|
+
space_key = space.get("key") if isinstance(space, dict) else None
|
|
113
|
+
space_id = space.get("id", "") if isinstance(space, dict) else data.get("spaceId", "")
|
|
114
|
+
|
|
115
|
+
return ConfluencePage(
|
|
116
|
+
page_id=str(data.get("id", "")),
|
|
117
|
+
title=data.get("title", ""),
|
|
118
|
+
space_id=str(space_id),
|
|
119
|
+
space_key=space_key,
|
|
120
|
+
body=body_content,
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
async def get_page_by_id(self, page_id: str) -> ConfluencePage:
|
|
124
|
+
"""
|
|
125
|
+
Get a Confluence page by its ID.
|
|
126
|
+
|
|
127
|
+
Args:
|
|
128
|
+
page_id: The numeric page ID
|
|
129
|
+
|
|
130
|
+
Returns
|
|
131
|
+
-------
|
|
132
|
+
ConfluencePage with page data
|
|
133
|
+
|
|
134
|
+
Raises
|
|
135
|
+
------
|
|
136
|
+
ValueError: If page is not found
|
|
137
|
+
httpx.HTTPStatusError: If the API request fails
|
|
138
|
+
"""
|
|
139
|
+
cloud_id = await self._get_cloud_id()
|
|
140
|
+
url = f"{ATLASSIAN_API_BASE}/ex/confluence/{cloud_id}/wiki/rest/api/content/{page_id}"
|
|
141
|
+
|
|
142
|
+
response = await self._client.get(url, params={"expand": self.EXPAND_FIELDS})
|
|
143
|
+
|
|
144
|
+
if response.status_code == HTTPStatus.NOT_FOUND:
|
|
145
|
+
raise ValueError(f"Page with ID '{page_id}' not found")
|
|
146
|
+
|
|
147
|
+
response.raise_for_status()
|
|
148
|
+
return self._parse_response(response.json())
|
|
149
|
+
|
|
150
|
+
async def get_page_by_title(self, title: str, space_key: str) -> ConfluencePage:
|
|
151
|
+
"""
|
|
152
|
+
Get a Confluence page by its title within a specific space.
|
|
153
|
+
|
|
154
|
+
Args:
|
|
155
|
+
title: The exact page title
|
|
156
|
+
space_key: The space key where the page resides
|
|
157
|
+
|
|
158
|
+
Returns
|
|
159
|
+
-------
|
|
160
|
+
ConfluencePage with page data
|
|
161
|
+
|
|
162
|
+
Raises
|
|
163
|
+
------
|
|
164
|
+
ValueError: If the page is not found
|
|
165
|
+
httpx.HTTPStatusError: If the API request fails
|
|
166
|
+
"""
|
|
167
|
+
cloud_id = await self._get_cloud_id()
|
|
168
|
+
url = f"{ATLASSIAN_API_BASE}/ex/confluence/{cloud_id}/wiki/rest/api/content"
|
|
169
|
+
|
|
170
|
+
response = await self._client.get(
|
|
171
|
+
url,
|
|
172
|
+
params={
|
|
173
|
+
"title": title,
|
|
174
|
+
"spaceKey": space_key,
|
|
175
|
+
"expand": self.EXPAND_FIELDS,
|
|
176
|
+
},
|
|
177
|
+
)
|
|
178
|
+
response.raise_for_status()
|
|
179
|
+
|
|
180
|
+
data = response.json()
|
|
181
|
+
results = data.get("results", [])
|
|
182
|
+
|
|
183
|
+
if not results:
|
|
184
|
+
raise ValueError(f"Page with title '{title}' not found in space '{space_key}'")
|
|
185
|
+
|
|
186
|
+
return self._parse_response(results[0])
|
|
187
|
+
|
|
188
|
+
async def __aenter__(self) -> "ConfluenceClient":
|
|
189
|
+
"""Async context manager entry."""
|
|
190
|
+
return self
|
|
191
|
+
|
|
192
|
+
async def __aexit__(
|
|
193
|
+
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: Any
|
|
194
|
+
) -> None:
|
|
195
|
+
"""Async context manager exit."""
|
|
196
|
+
await self._client.aclose()
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Copyright 2025 DataRobot, Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Confluence MCP tools for interacting with Confluence Cloud."""
|
|
16
|
+
|
|
17
|
+
import logging
|
|
18
|
+
from typing import Annotated
|
|
19
|
+
|
|
20
|
+
from fastmcp.exceptions import ToolError
|
|
21
|
+
from fastmcp.tools.tool import ToolResult
|
|
22
|
+
|
|
23
|
+
from datarobot_genai.drmcp.core.mcp_instance import dr_mcp_tool
|
|
24
|
+
from datarobot_genai.drmcp.tools.clients.atlassian import get_atlassian_access_token
|
|
25
|
+
from datarobot_genai.drmcp.tools.clients.confluence import ConfluenceClient
|
|
26
|
+
|
|
27
|
+
logger = logging.getLogger(__name__)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
@dr_mcp_tool(tags={"confluence", "read", "get", "page"})
|
|
31
|
+
async def confluence_get_page(
|
|
32
|
+
*,
|
|
33
|
+
page_id_or_title: Annotated[str, "The ID or the exact title of the Confluence page."],
|
|
34
|
+
space_key: Annotated[
|
|
35
|
+
str | None,
|
|
36
|
+
"Required if identifying the page by title. The space key (e.g., 'PROJ').",
|
|
37
|
+
] = None,
|
|
38
|
+
) -> ToolResult | ToolError:
|
|
39
|
+
"""Retrieve the content of a specific Confluence page.
|
|
40
|
+
|
|
41
|
+
Use this tool to fetch Confluence pages by their numeric ID or by title.
|
|
42
|
+
Returns page content in HTML storage format.
|
|
43
|
+
|
|
44
|
+
Usage:
|
|
45
|
+
- By ID: page_id_or_title="856391684"
|
|
46
|
+
- By title: page_id_or_title="Meeting Notes", space_key="TEAM"
|
|
47
|
+
|
|
48
|
+
When using a page title, the space_key parameter is required.
|
|
49
|
+
"""
|
|
50
|
+
if not page_id_or_title:
|
|
51
|
+
raise ToolError("Argument validation error: 'page_id_or_title' cannot be empty.")
|
|
52
|
+
|
|
53
|
+
access_token = await get_atlassian_access_token()
|
|
54
|
+
if isinstance(access_token, ToolError):
|
|
55
|
+
raise access_token
|
|
56
|
+
|
|
57
|
+
try:
|
|
58
|
+
async with ConfluenceClient(access_token) as client:
|
|
59
|
+
if page_id_or_title.isdigit():
|
|
60
|
+
page_response = await client.get_page_by_id(page_id_or_title)
|
|
61
|
+
else:
|
|
62
|
+
if not space_key:
|
|
63
|
+
raise ToolError(
|
|
64
|
+
"Argument validation error: "
|
|
65
|
+
"'space_key' is required when identifying a page by title."
|
|
66
|
+
)
|
|
67
|
+
page_response = await client.get_page_by_title(page_id_or_title, space_key)
|
|
68
|
+
except ValueError as e:
|
|
69
|
+
logger.error(f"Value error getting Confluence page: {e}")
|
|
70
|
+
raise ToolError(str(e))
|
|
71
|
+
except Exception as e:
|
|
72
|
+
logger.error(f"Unexpected error getting Confluence page: {e}")
|
|
73
|
+
raise ToolError(
|
|
74
|
+
f"An unexpected error occurred while getting Confluence page "
|
|
75
|
+
f"'{page_id_or_title}': {str(e)}"
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
return ToolResult(
|
|
79
|
+
content=f"Successfully retrieved page '{page_response.title}'.",
|
|
80
|
+
structured_content=page_response.as_flat_dict(),
|
|
81
|
+
)
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# Copyright 2025 DataRobot, Inc.
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Copyright 2025 DataRobot, Inc.
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/agents/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/cli/agent_environment.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/cli/agent_kernel.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/core/telemetry_agent.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/config_utils.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/constants.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/credentials.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/dr_mcp_server.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/mcp_instance.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/mcp_server_tools.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/routes_utils.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/server_life_cycle.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/telemetry.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/tool_config.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/core/tool_filter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/test_utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/test_utils/utils.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/__init__.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/clients/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/clients/jira.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/clients/s3.py
RENAMED
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/jira/__init__.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/jira/tools.py
RENAMED
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/drmcp/tools/predictive/model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/llama_index/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/nat/datarobot_auth_provider.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/nat/datarobot_llm_clients.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/nat/datarobot_llm_providers.py
RENAMED
|
File without changes
|
{datarobot_genai-0.2.8 → datarobot_genai-0.2.10}/src/datarobot_genai/nat/datarobot_mcp_client.py
RENAMED
|
File without changes
|
|
File without changes
|