parent
540a61ab78
commit
4aacf3256f
@ -0,0 +1,9 @@
|
||||
from swarms.structs.agent import Agent
|
||||
|
||||
agent = Agent(
|
||||
model_name="gpt-4.1",
|
||||
max_loops=1,
|
||||
stream=True,
|
||||
)
|
||||
|
||||
agent.run("Tell me a short story about a robot learning to paint.")
|
||||
Loading…
Reference in new issue