mirror of
https://github.com/camel-ai/owl.git
synced 2026-03-22 05:57:17 +08:00
fix: Load .env file before import.
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
from camel.models import ModelFactory
|
||||
from camel.toolkits import *
|
||||
from camel.types import ModelPlatformType, ModelType
|
||||
from camel.configs import ChatGPTConfig
|
||||
|
||||
from typing import List, Dict
|
||||
from dotenv import load_dotenv
|
||||
|
||||
from retry import retry
|
||||
from loguru import logger
|
||||
|
||||
@@ -12,7 +15,6 @@ from utils import OwlRolePlaying, process_tools, run_society
|
||||
import os
|
||||
|
||||
|
||||
load_dotenv()
|
||||
|
||||
|
||||
def construct_society(question: str) -> OwlRolePlaying:
|
||||
|
||||
Reference in New Issue
Block a user