MCPcopy
hub / github.com/langchain-ai/deepagents / create_update_log_path

Function create_update_log_path

libs/code/deepagents_code/update_check.py:1465–1469  ·  view source on GitHub ↗

Return a new timestamped update log path and clean stale logs.

()

Source from the content-addressed store, hash-verified

1463
1464
1465def create_update_log_path() -> Path:
1466 """Return a new timestamped update log path and clean stale logs."""
1467 cleanup_update_logs()
1468 stamp = datetime.now(tz=UTC).strftime("%Y%m%d-%H%M%S")
1469 return UPDATE_LOG_DIR / f"{stamp}-update.log"
1470
1471
1472async def _emit_progress(callback: UpgradeProgressCallback | None, line: str) -> None:

Callers 7

_install_extraMethod · 0.90
_handle_update_actionMethod · 0.90
_run_startup_auto_updateFunction · 0.90
cli_mainFunction · 0.90
_run_install_subprocessFunction · 0.85

Calls 1

cleanup_update_logsFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…