fix: test_agent_serialization_v2.py and use bulk fetch when fetching mcp servers

Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
This commit is contained in:
jnjpng
2025-07-25 11:13:05 -07:00
committed by GitHub
parent dbb8996442
commit 82fef362be
4 changed files with 26 additions and 14 deletions

View File

@@ -8579,8 +8579,8 @@ async def test_get_mcp_servers_by_ids(server, default_user, event_loop):
},
{
"name": "test_server_3",
"config": SSEServerConfig(server_name="test_server_3", server_url="https://test3.example.com/sse"),
"type": MCPServerType.SSE,
"config": SSEServerConfig(server_name="test_server_3", server_url="https://test3.example.com/mcp"),
"type": MCPServerType.STREAMABLE_HTTP,
},
]