Skip to content

Commit

Permalink
Merge pull request #23 from leonvanbokhorst/smol-agent
Browse files Browse the repository at this point in the history
Enhance: Update quick smol agent config and prompt
  • Loading branch information
leonvanbokhorst authored Jan 7, 2025
2 parents 479e21d + 9b9127b commit 2667e23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/smol_agents/quick_smol.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ def run_story_generation():
agent = CodeAgent(
tools=[DuckDuckGoSearchTool()],
model=model,
#additional_authorized_imports=["requests", "random"],
planning_interval=1,
max_iterations=5,
additional_authorized_imports=["math"],
planning_interval=3,
max_iterations=20,
)

result = agent.run(
"""Find a way to escape from the matrix."""
"""How many apples go in a tiny bushel?"""
)

print("\nFinal Story:")
Expand Down

0 comments on commit 2667e23

Please sign in to comment.