mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
ci_cd_server_path
This commit is contained in:
parent
0eb3ceff60
commit
8a71f129bf
1 changed files with 3 additions and 1 deletions
|
@ -18,10 +18,12 @@ import json
|
|||
|
||||
@pytest.mark.asyncio
|
||||
async def test_mcp_agent():
|
||||
local_server_path = "./mcp_server.py"
|
||||
ci_cd_server_path = "tests/mcp_tests/mcp_server.py"
|
||||
server_params = StdioServerParameters(
|
||||
command="python3",
|
||||
# Make sure to update to the full absolute path to your math_server.py file
|
||||
args=["./mcp_server.py"],
|
||||
args=[ci_cd_server_path],
|
||||
)
|
||||
|
||||
async with stdio_client(server_params) as (read, write):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue