quick-window-91705
10/19/2026, 2:59 PMquick-window-91705
10/19/2026, 2:59 PMagent-server dependency set that can resolve to an incompatible LiteLLM/MCP combination.
I checked the repo and the current code path is:
• pins Agent Server to 1.55.1.
• launches it through uvx.
• openhands-sdk==1.55.1 depends on:
◦ litellm>=1.93.0 with no upper bound
◦ fastmcp<4,>=3.2.0
• fastmcp pulls mcp<2.0, currently resolving to mcp==1.30.0.
• Because LiteLLM has no upper bound in SDK 1.55.1, uv resolves litellm==1.106.0.
That combination is broken:
litellm==1.106.0 imports CacheableResult from mcp.types
mcp==1.30.0 does not define CacheableResult
So when an LLM call goes through LiteLLM, LiteLLM imports its MCP/proxy code and fails here:
cannot import name 'CacheableResult' from 'mcp.types'
The error is then wrapped as:
LLMServiceUnavailableError
litellm.APIConnectionError
Litellm_proxyExceptionquick-window-91705
10/19/2026, 2:59 PM1.106 in the agent-server environment:
litellm<1.106quick-window-91705
10/19/2026, 3:02 PMlimited-student-10747
10/19/2026, 3:02 PMlimited-student-10747
10/19/2026, 3:03 PMquick-window-91705
10/19/2026, 3:04 PMquick-window-91705
10/19/2026, 3:06 PMelegant-branch-54423
10/19/2026, 3:15 PMlimited-student-10747
10/19/2026, 3:15 PMquick-window-91705
10/19/2026, 5:41 PMimportant-yak-87889
10/19/2026, 8:10 PM