Skip to content

Commit

Permalink
modify the logic of the condition
Browse files Browse the repository at this point in the history
  • Loading branch information
TPLin22 committed Dec 20, 2024
1 parent bda45b2 commit e9976d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rdagent/oai/llm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ def md5_hash(input_string: str) -> str:
logger.warning("openai is not installed.")

try:
if LLM_SETTINGS.use_llama2:
from llama import Llama
from llama import Llama
except ImportError:
logger.warning("llama is not installed.")
if LLM_SETTINGS.use_llama2:
logger.warning("llama is not installed.")


class ConvManager:
Expand Down

0 comments on commit e9976d0

Please sign in to comment.