mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-06 02:32:40 +00:00
fix mcp in notebook
This commit is contained in:
parent
2f38851751
commit
83562e5530
1 changed files with 2 additions and 2 deletions
|
@ -2519,11 +2519,11 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"# NBVAL_SKIP\n",
|
||||
"from llama_stack_client.types.shared_params.url import URL\n",
|
||||
"from llama_stack_client.types.tool_group import McpEndpoint\n",
|
||||
"client.toolgroups.register(\n",
|
||||
" toolgroup_id=\"mcp::filesystem\",\n",
|
||||
" provider_id=\"model-context-protocol\",\n",
|
||||
" mcp_endpoint=URL(uri=\"http://localhost:8000/sse\"),\n",
|
||||
" mcp_endpoint=McpEndpoint(uri=\"http://localhost:8000/sse\"),\n",
|
||||
")"
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue