Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
sprajosh committed Jun 26, 2024
1 parent 2b745b6 commit 8e43e88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions agentops/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,9 @@ def end_session(
end_state_reason (str, optional): The reason for ending the session.
video (str, optional): The video screen recording of the session
is_auto_end (bool, optional): is this an automatic use of end_session and should be skipped with skip_auto_end_session
Returns:
Decimal: The token cost of the session. Returns 0 if the cost is unknown.
"""

if is_auto_end and self.config.skip_auto_end_session:
Expand Down

0 comments on commit 8e43e88

Please sign in to comment.