mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
generate_mock_mcp_server_config_record
This commit is contained in:
parent
8b9bd9bdb6
commit
79a6feb7ac
1 changed files with 5 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ from litellm.proxy._types import (
|
|||
UserAPIKeyAuth,
|
||||
)
|
||||
from litellm.types.mcp import MCPAuth
|
||||
from litellm.types.mcp_server.mcp_server_manager import MCPInfo, MCPServer
|
||||
from litellm.types.mcp_server.mcp_server_manager import MCPServer
|
||||
|
||||
|
||||
def generate_mock_mcp_server_db_record(
|
||||
|
|
@ -63,10 +63,10 @@ def generate_mock_mcp_server_config_record(
|
|||
url=url,
|
||||
transport=MCPTransport.http if transport == "http" else MCPTransport.sse,
|
||||
auth_type=MCPAuth.api_key if auth_type == "api_key" else None,
|
||||
mcp_info=MCPInfo(
|
||||
server_name=name,
|
||||
description="Config server description",
|
||||
),
|
||||
mcp_info={
|
||||
"server_name": name,
|
||||
"description": "Config server description",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue