mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2024-12-25 12:52:29 +03:00
add: [한병찬] added .env file to manage environment variables
This commit is contained in:
parent
602a5001d0
commit
cb287b700c
2
run.py
2
run.py
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user