Skip to content

Commit

Permalink
Update Agent Class
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpreetbedi committed Sep 19, 2024
1 parent 68199aa commit b41e00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phi/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def get_agent_data(self) -> Dict[str, Any]:

def get_session_data(self) -> Dict[str, Any]:
session_data = self.session_data or {}
if self.session_name:
if self.session_name is not None:
session_data["session_name"] = self.session_name
return session_data

Expand Down

0 comments on commit b41e00f

Please sign in to comment.