Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arjan-nirh-block committed Nov 21, 2024
1 parent 60a7d23 commit e8b544a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/goose/cli/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ 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]Session '{self.name}' ended. 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 e8b544a

Please sign in to comment.