<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def with_base_config(base_config, extra_config):
 """Returns the given config dict merged with a base agent conf."""


    config = copy.deepcopy(base_config)
    config.update(extra_config)
    return config