MCPcopy Create free account
hub / github.com/IBM/mcp-cli / debug_report

Method debug_report

src/mcp_cli/config/runtime.py:233–250  ·  view source on GitHub ↗

Generate debug report showing all resolved values and sources.

(self)

Source from the content-addressed store, hash-verified

231 # ================================================================
232
233 def debug_report(self) -> dict[str, Any]:
234 """Generate debug report showing all resolved values and sources."""
235 return {
236 "timeouts": {
237 tt.value: {
238 "value": self._timeout_cache.get(
239 tt, self._resolve_timeout(tt)
240 ).value,
241 "source": self._timeout_cache.get(
242 tt, self._resolve_timeout(tt)
243 ).source.value,
244 }
245 for tt in TimeoutType
246 },
247 "provider": self.provider,
248 "model": self.model,
249 "tools": self.get_tool_config().model_dump(),
250 }

Callers 1

test_debug_reportMethod · 0.95

Calls 4

_resolve_timeoutMethod · 0.95
get_tool_configMethod · 0.95
getMethod · 0.45
model_dumpMethod · 0.45

Tested by 1

test_debug_reportMethod · 0.76