Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

329 B
Raw Blame
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.
# SPDX-License-Identifier: AGPL-3.0
import logging


def touch_file(file_path: str) -> None:
    try:
        with open(file_path, "a"):
            pass
    except Exception as e:
        logging.error("touch file failed: {}, file_path: {}".format(e, file_path))