add: [한병찬] added .env file to manage environment variables

This commit is contained in:
onebottlekick 2024-09-26 10:38:04 +09:00
parent 602a5001d0
commit cb287b700c

2
run.py
View File

@ -20,6 +20,8 @@ from camel.typing import ModelType
root = os.path.dirname(__file__) root = os.path.dirname(__file__)
sys.path.append(root) sys.path.append(root)
from dotenv import load_dotenv
load_dotenv()
from chatdev.chat_chain import ChatChain from chatdev.chat_chain import ChatChain