mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 18:50:41 +00:00
fix: fix imports for mcp registration in notebook (#1787)
# What does this PR do? - as title [//]: # (If resolving an issue, uncomment and update the line below) [//]: # (Closes #[issue-number]) ## Test Plan notebook [//]: # (## Documentation)
This commit is contained in:
parent
c8f740353b
commit
65d5d0d1bf
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