MCPcopy Create free account
hub / github.com/IBM/mcp-cli / get_history_file

Method get_history_file

src/mcp_cli/utils/preferences.py:514–516  ·  view source on GitHub ↗

Get path to chat history file.

(self)

Source from the content-addressed store, hash-verified

512 self.save_preferences()
513
514 def get_history_file(self) -> Path:
515 """Get path to chat history file."""
516 return self.config_dir / "chat_history"
517
518 def get_logs_dir(self) -> Path:
519 """Get path to logs directory."""

Callers 3

test_get_history_fileMethod · 0.95
test_history_and_logsMethod · 0.95
_init_prompt_sessionMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_get_history_fileMethod · 0.76
test_history_and_logsMethod · 0.76