We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb12c85 commit 20aa461Copy full SHA for 20aa461
examples/stock_market_research/src/main.py
@@ -1,5 +1,5 @@
1
#!/usr/bin/env python
2
-from datetime import datetime
+from datetime import datetime, timezone
3
import sys
4
from crew import StockmarketresearchCrew
5
import agentstack
@@ -14,7 +14,7 @@ def run():
14
Run the agent.
15
"""
16
inputs = agentstack.get_inputs()
17
- inputs["timestamp"] = datetime.utcnow().isoformat()
+ inputs["timestamp"] = datetime.now(timezone.utc).isoformat()
18
19
instance.kickoff(inputs=inputs)
20
0 commit comments