Skip to content

Commit

Permalink
Merge pull request #20 from airtai/14-refactor-chats-and-merge-them-t…
Browse files Browse the repository at this point in the history
…o-one-workflow

Fix init order
  • Loading branch information
sternakt authored Nov 21, 2024
2 parents f8a7be9 + c23e4ee commit ff45bc2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ def __init__(self, ui: UI, params: dict[str, Any]) -> None:
super().__init__(ui, params)
self.context_leak_log_save_path = self.DEFAULT_LOG_PATH
self.counter = 0
self.model_level = "low"
self.max_round = 1

def setup_environment(self) -> None:
self.model_level = self.ui.multiple_choice(
sender="Context leakage team",
prompt="What model would you like to test?",
Expand All @@ -79,9 +82,6 @@ def __init__(self, ui: UI, params: dict[str, Any]) -> None:
)
)

def setup_environment(self) -> None:
pass

def setup_agents(self) -> Iterable[Agent]:
"""Create agents specific to context leakage."""
confidential_text = self.TESTED_MODEL_CONFIDENTIAL_PATH.read_text()
Expand Down

0 comments on commit ff45bc2

Please sign in to comment.