Skip to content

Commit 50e2899

Browse files
committed
only import base llm if type checking
1 parent 4f7a6c8 commit 50e2899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promptolution/tasks/judge_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
from typing import TYPE_CHECKING, List, Optional
66

7-
from promptolution.llms.base_llm import BaseLLM
87
from promptolution.tasks.base_task import BaseTask
98
from promptolution.utils.formatting import extract_from_tag
109
from promptolution.utils.logging import get_logger
1110

1211
if TYPE_CHECKING: # pragma: no cover
12+
from promptolution.llms.base_llm import BaseLLM
1313
from promptolution.tasks.base_task import EvalStrategy
1414
from promptolution.utils.config import ExperimentConfig
1515

0 commit comments

Comments
 (0)