Skip to content

Commit

Permalink
Merge pull request #187 from GangGreenTemperTatum/fix/notebook-import…
Browse files Browse the repository at this point in the history
…-error

fix: notebook import error
  • Loading branch information
burtenshaw authored Jan 20, 2025
2 parents 6cb76b0 + aee7329 commit ad30aff
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions 8_agents/notebooks/agents.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@
"metadata": {},
"outputs": [],
"source": [
"from smolagents import CodeAgent\n",
"from smolagents.tools import DuckDuckGoSearch\n",
"from smolagents import CodeAgent, DuckDuckGoSearchTool\n",
"\n",
"# Initialize the agent with memory\n",
"research_agent = CodeAgent(...) # TODO: Define the agent\n",
Expand Down Expand Up @@ -178,6 +177,18 @@
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.8"
}
},
"nbformat": 4,
Expand Down

0 comments on commit ad30aff

Please sign in to comment.