Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkbrnd committed Feb 12, 2025
1 parent cb16e1a commit cefada2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/agno/agno/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,7 @@ def load_agent_session(self, session: AgentSession):
if "session_metrics" in session.session_data:
session_metrics_from_db = session.session_data.get("session_metrics")
if session_metrics_from_db is not None and isinstance(session_metrics_from_db, dict):
self.session_metrics = session_metrics_from_db
self.session_metrics = SessionMetrics(**session_metrics_from_db)

# Get images, videos, and audios from the database
if "images" in session.session_data:
Expand Down

0 comments on commit cefada2

Please sign in to comment.