Skip to content

Commit cbddfc9

Browse files
docs(cookbook): add missing ddgs dependency to smolagents integration
The smolagents integration notebook uses DuckDuckGoSearchTool in Step 4, but ddgs is not installed by smolagents[telemetry]. It belongs to the toolkit optional group in smolagents' pyproject.toml. This causes ModuleNotFoundError when users follow the notebook.
1 parent 4d2ebf9 commit cbddfc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cookbook/integration_smolagents.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"metadata": {},
2929
"outputs": [],
3030
"source": [
31-
"%pip install langfuse 'smolagents[telemetry]' opentelemetry-sdk opentelemetry-exporter-otlp openinference-instrumentation-smolagents"
31+
"%pip install langfuse 'smolagents[telemetry]' opentelemetry-sdk opentelemetry-exporter-otlp openinference-instrumentation-smolagents ddgs"
3232
]
3333
},
3434
{

0 commit comments

Comments
 (0)