mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-12 19:04:59 +00:00
9a4bacd85d
The OpenAPI-to-MCP feature (PR #21575) added spec_path to the code (_types.py, mcp_server_manager.py) but missed adding the column to the Prisma schema files. This causes "Could not find field spec_path" errors when creating OpenAPI-based MCP servers via the UI or API. Adds `spec_path String?` to LiteLLM_MCPServerTable in all three schema files (root, litellm/proxy, litellm-proxy-extras). Made-with: Cursor
Additional files for the proxy. Reduces the size of the main litellm package.
Currently, only stores the migration.sql files for litellm-proxy.
To install, run:
pip install litellm-proxy-extras
OR
pip install litellm[proxy] # installs litellm-proxy-extras and other proxy dependencies
To use the migrations, run:
litellm --use_prisma_migrate