datarobot_genai.drmcp.test_utils.utils
utils
format_tool_call
Format a single tool call in a readable way.
Source code in datarobot_genai/drmcp/test_utils/utils.py
format_response
Format the LLM response in a readable way.
Source code in datarobot_genai/drmcp/test_utils/utils.py
save_response_to_file
Save the response to a file in a readable format.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
response
|
LLMResponse
|
The LLM response to save |
required |
name
|
str | None
|
Optional name to use in the filename. If not provided, will use a timestamp only. |
None
|