Skip to content

Commit 01f9c37

Browse files
committed
docs: update a few outdated MCP examples
1 parent 210585e commit 01f9c37

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/hosted_mcp/human_in_the_loop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def main(verbose: bool, stream: bool) -> None:
5757
tool_config={
5858
"type": "mcp",
5959
"server_label": "deepwiki",
60-
"server_url": "https://mcp.deepwiki.com/sse",
60+
"server_url": "https://mcp.deepwiki.com/mcp",
6161
"require_approval": require_approval,
6262
}
6363
)

examples/hosted_mcp/on_approval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def main(verbose: bool, stream: bool) -> None:
4141
tool_config={
4242
"type": "mcp",
4343
"server_label": "deepwiki",
44-
"server_url": "https://mcp.deepwiki.com/sse",
44+
"server_url": "https://mcp.deepwiki.com/mcp",
4545
"require_approval": require_approval,
4646
},
4747
on_approval_request=prompt_approval,

0 commit comments

Comments
 (0)