Skip to content

Commit f6af47a

Browse files
authored
Use %%bash for pip install cells (#403)
* change the pip install line * add notion api key * add the missing dependencies * Fix the import line * docstring-parser missing dependency
1 parent 47c7205 commit f6af47a

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
HF_API_TOKEN: ${{ secrets.HF_API_KEY }}
4141
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4242
SERPERDEV_API_KEY: ${{ secrets.SERPERDEV_API_KEY }}
43+
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
4344

4445
steps:
4546
- name: Checkout

.github/workflows/run_tutorials.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
HF_API_TOKEN: ${{ secrets.HF_API_KEY }}
7272
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
7373
SERPERDEV_API_KEY: ${{ secrets.SERPERDEV_API_KEY }}
74+
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
7475

7576
steps:
7677
- name: Checkout

index.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,5 +227,5 @@ notebook = "45_Creating_a_Multi_Agent_System.ipynb"
227227
aliases = []
228228
completion_time = "20 min"
229229
created_at = 2025-06-02
230-
dependencies = []
230+
dependencies = ["duckduckgo-api-haystack", "docstring-parser"]
231231
featured = true

tutorials/45_Creating_a_Multi_Agent_System.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@
6464
}
6565
],
6666
"source": [
67-
"!pip install -q haystack-ai duckduckgo-api-haystack"
67+
"%%bash\n",
68+
"\n",
69+
"pip install -q haystack-ai duckduckgo-api-haystack"
6870
]
6971
},
7072
{
@@ -123,7 +125,7 @@
123125
"outputs": [],
124126
"source": [
125127
"from haystack.tools import ComponentTool\n",
126-
"from haystack.components.websearch import DuckduckgoApiWebSearch\n",
128+
"from duckduckgo_api_haystack import DuckduckgoApiWebSearch\n",
127129
"\n",
128130
"\n",
129131
"def doc_to_string(documents) -> str:\n",

0 commit comments

Comments
 (0)