Skip to content

Commit 6bf8ca2

Browse files
committed
add note about howto simplify history configuration
1 parent 9e835ab commit 6bf8ca2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎src/hackingBuddyGPT/utils/histories.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
import abc
22

3+
# TODO: make the configuration for different histories easier
4+
# Logger = Union[GlobalRemoteLogger, GlobalLocalLogger]
5+
# log_param = parameter(desc="choice of logging backend", default="local_logger")
6+
#@dataclass
7+
#class Agent(ABC):
8+
# log: Logger = log_param
9+
310
class History(abc.ABC):
411
@abc.abstractmethod
512
def append(self, cmd:str, result:str):

0 commit comments

Comments
 (0)