Skip to content

Commit b1b6c73

Browse files
committed
Fix notebook issues
1 parent ed9ba95 commit b1b6c73

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

docs/examples/notebooks/compositionality_with_generative_slots.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,8 @@
115115
]
116116
},
117117
{
118-
"cell_type": "code",
119-
"execution_count": null,
118+
"cell_type": "markdown",
120119
"metadata": {},
121-
"outputs": [],
122120
"source": [
123121
"## Specify Contract Functions\n",
124122
"To help us compose these libraries, we introduce a set of contracts that gate function composition and then use those contracts to short-circuit non-sensical compositions of library components:"

docs/examples/notebooks/mcp_example.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"id": "ZIu6B1Ht927Z"
1818
},
1919
"source": [
20-
"## Install Ollama\n",
20+
"## Install Ollama and MCP\n",
2121
"\n",
22-
"Before we get started with Mellea, we download and install ollama."
22+
"Before we get started with Mellea, we install ollama and mcp"
2323
]
2424
},
2525
{
@@ -31,7 +31,8 @@
3131
"outputs": [],
3232
"source": [
3333
"!curl -fsSL https://ollama.com/install.sh | sh\n",
34-
"!nohup ollama serve &"
34+
"!nohup ollama serve &\n",
35+
"!uv pip install mcp -q"
3536
]
3637
},
3738
{

docs/examples/notebooks/model_options_example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"cell_type": "markdown",
8383
"metadata": {},
8484
"source": [
85-
"## Spefify Options on Backend Initialization\n",
85+
"## Specify Options on Backend Initialization\n",
8686
"You can add any key-value option pair supported by the backend to the model_options dictionary, and those options are passed along to the inference engine (even if a Mellea-specific ModelOption is defined for that option). This means you can safely copy over model option parameters from exiting codebases as-is:"
8787
]
8888
},

0 commit comments

Comments
 (0)