mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
fix import mcp router
This commit is contained in:
parent
fb3a67ba8d
commit
863fe3a4d2
1 changed files with 4 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ try:
|
|||
except ImportError as e:
|
||||
verbose_logger.debug(f"MCP module not found: {e}")
|
||||
MCP_AVAILABLE = False
|
||||
router = APIRouter(
|
||||
prefix="/mcp",
|
||||
tags=["mcp"],
|
||||
)
|
||||
|
||||
|
||||
if MCP_AVAILABLE:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue