Skip to content

Commit 1b10301

Browse files
committed
fix: config/params
1 parent acd4451 commit 1b10301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/evaluation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def evaluation_function(response, answer, config=None):
7979
start_time = time.process_time()
8080

8181
# Ensure config is provided
82-
config = Config() if len(config) == 0 else config
82+
config = Config() if (config is None or "mode" not in config) else config
8383

8484
# Initialize LLM
8585
llm = setup_llm(config)

0 commit comments

Comments
 (0)