mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
fix: add missing spec_path column to LiteLLM_MCPServerTable schema (#22820)
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
This commit is contained in:
parent
e335dd70f8
commit
9a4bacd85d
3 changed files with 3 additions and 0 deletions
|
|
@ -277,6 +277,7 @@ model LiteLLM_MCPServerTable {
|
|||
alias String?
|
||||
description String?
|
||||
url String?
|
||||
spec_path String?
|
||||
transport String @default("sse")
|
||||
auth_type String?
|
||||
credentials Json? @default("{}")
|
||||
|
|
|
|||
|
|
@ -277,6 +277,7 @@ model LiteLLM_MCPServerTable {
|
|||
alias String?
|
||||
description String?
|
||||
url String?
|
||||
spec_path String?
|
||||
transport String @default("sse")
|
||||
auth_type String?
|
||||
credentials Json? @default("{}")
|
||||
|
|
|
|||
|
|
@ -277,6 +277,7 @@ model LiteLLM_MCPServerTable {
|
|||
alias String?
|
||||
description String?
|
||||
url String?
|
||||
spec_path String?
|
||||
transport String @default("sse")
|
||||
auth_type String?
|
||||
credentials Json? @default("{}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue