mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
fix: add missing MCP mock fields and document new providers
- Fix test_add_update_server_without_alias: set tool_name_to_display_name, tool_name_to_description, byok_api_key_help_url to None to avoid MagicMock Pydantic validation errors - Add bedrock_mantle and searchapi to provider_endpoints_support.json to fix check_code_and_doc_quality CI failure Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
44d382218e
commit
07ec576dfb
2 changed files with 38 additions and 0 deletions
|
|
@ -229,6 +229,24 @@
|
|||
"interactions": true
|
||||
}
|
||||
},
|
||||
"bedrock_mantle": {
|
||||
"display_name": "AWS - Bedrock Mantle (`bedrock_mantle`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/bedrock",
|
||||
"endpoints": {
|
||||
"chat_completions": true,
|
||||
"messages": false,
|
||||
"responses": false,
|
||||
"embeddings": false,
|
||||
"image_generations": false,
|
||||
"audio_transcriptions": false,
|
||||
"audio_speech": false,
|
||||
"moderations": false,
|
||||
"batches": false,
|
||||
"rerank": false,
|
||||
"a2a": false,
|
||||
"interactions": false
|
||||
}
|
||||
},
|
||||
"bedrock": {
|
||||
"display_name": "AWS - Bedrock (`bedrock`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/bedrock",
|
||||
|
|
@ -1888,6 +1906,23 @@
|
|||
"interactions": true
|
||||
}
|
||||
},
|
||||
"searchapi": {
|
||||
"display_name": "SearchAPI.io (`searchapi`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/searchapi",
|
||||
"endpoints": {
|
||||
"chat_completions": false,
|
||||
"messages": false,
|
||||
"responses": false,
|
||||
"embeddings": false,
|
||||
"image_generations": false,
|
||||
"audio_transcriptions": false,
|
||||
"audio_speech": false,
|
||||
"moderations": false,
|
||||
"batches": false,
|
||||
"rerank": false,
|
||||
"search": true
|
||||
}
|
||||
},
|
||||
"searxng": {
|
||||
"display_name": "SearXNG (`searxng`)",
|
||||
"url": "https://docs.litellm.ai/docs/search/searxng",
|
||||
|
|
|
|||
|
|
@ -1497,6 +1497,9 @@ async def test_add_update_server_without_alias():
|
|||
mock_mcp_server.authorization_url = None
|
||||
mock_mcp_server.registration_url = None
|
||||
mock_mcp_server.token_url = None
|
||||
mock_mcp_server.tool_name_to_display_name = None
|
||||
mock_mcp_server.tool_name_to_description = None
|
||||
mock_mcp_server.byok_api_key_help_url = None
|
||||
|
||||
# Add server to manager
|
||||
await test_manager.add_server(mock_mcp_server)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue