datarobot_genai.drmcp.test_utils.clients.dr_gateway
dr_gateway
DataRobot LLM Gateway MCP Client implementation.
DRLLMGatewayMCPClient
Bases: BaseLLMMCPClient
Client for interacting with LLMs via MCP using DataRobot LLM Gateway.
Note: Elicitation is handled at the protocol level by FastMCP's ctx.elicit(). Tools using FastMCP's built-in elicitation will work automatically.
Source code in datarobot_genai/drmcp/test_utils/clients/dr_gateway.py
__init__
Initialize the LLM MCP client.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
str | dict
|
Configuration string or dict with: - datarobot_api_token: DataRobot API token - datarobot_endpoint: DataRobot endpoint URL (default: "https://app.datarobot.com/api/v2") - model: Model name (required) - save_llm_responses: Whether to save responses (default: True) - temperature: (optional float, default: None) |
required |