gpt_engineer.benchmark.__main__.get_agent

gpt_engineer.benchmark.__main__.get_agent(path)[source]

Dynamically imports and returns the default configuration agent from the given path.

Parameters:

path (str) – The file path to the module containing the default configuration agent.

Returns:

An instance of the imported default configuration agent.

Return type:

BaseAgent