Skip to content

Commit

Permalink
add session info upon commit
Browse files Browse the repository at this point in the history
  • Loading branch information
arjan-nirh-block committed Nov 19, 2024
1 parent a2c55f2 commit 60a7d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goose/cli/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def load_session(self) -> list[Message]:

def _log_cost(self, start_time: datetime, end_time: datetime) -> None:
get_logger().info(get_total_cost_message(self.exchange.get_token_usage(), self.name, start_time, end_time))
print(f"[dim]you can view the cost and token usage in the log directory {LOG_PATH}[/]")
print(f"[dim]Session '{self.name}' ended. You can view the cost and token usage in the log directory {LOG_PATH}[/]")

def _prompt_overwrite_session(self) -> None:
print(f"[yellow]Session already exists at {self.session_file_path}.[/]")
Expand Down

0 comments on commit 60a7d23

Please sign in to comment.