gpt_engineer.core.version_manager.BaseVersionManager

class gpt_engineer.core.version_manager.BaseVersionManager(path: str | Path)[source]

Bases: ABC

Abstract base class for a version manager.

Defines the interface for version managers that handle the creation of snapshots for code. Implementations of this class are expected to provide methods to create a snapshot of the given code and return a reference to it.

abstract snapshot(files_dict: FilesDict) str[source]