Skip to content

Commit

Permalink
fix: init tools in evals
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 2, 2024
1 parent 5e635b6 commit 44e76ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gptme/eval/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from gptme import get_prompt
from gptme.cli import get_name
from gptme.dirs import get_logs_dir
from gptme.tools import init_tools

from .filestore import FileStore
from .types import Files
Expand Down Expand Up @@ -40,6 +41,9 @@ def act(self, files: Files | None, prompt: str):
if files:
store.upload(files)

# TODO: make eval toolset configurable
init_tools()

print("\n--- Start of generation ---")
logger.debug(f"Working in {store.working_dir}")
prompt_sys = get_prompt()
Expand Down

0 comments on commit 44e76ff

Please sign in to comment.