Fix: Remove hardcoded paths - now fully standalone
- Changed all load_dotenv() calls to use relative path (just load_dotenv()) - No OpenClaw dependencies - Works anywhere after pip install
This commit is contained in:
@@ -9,7 +9,7 @@ from typing import Any, Optional
|
||||
from crewai import Agent, Crew, LLM, Process, Task
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env")
|
||||
load_dotenv()
|
||||
|
||||
from opus_orchestrator.config import get_config
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ from typing import Any, Optional
|
||||
from crewai import Agent, Process
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env")
|
||||
load_dotenv()
|
||||
|
||||
from opus_orchestrator.crews.base_crew import OpusCrew
|
||||
from opus_orchestrator.config import get_config
|
||||
|
||||
@@ -8,7 +8,7 @@ from typing import Any, Optional
|
||||
from crewai import Agent, Process
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv("/home/solaria/.openclaw/workspace/opus-orchestrator-ai/.env")
|
||||
load_dotenv()
|
||||
|
||||
from opus_orchestrator.crews.base_crew import OpusCrew
|
||||
from opus_orchestrator.config import get_config
|
||||
|
||||
Reference in New Issue
Block a user