diff --git a/pyproject.toml b/pyproject.toml index 33d85650..f7ff299a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "skyvern" -version = "0.1.70" +version = "0.1.71" description = "" authors = ["Skyvern AI "] readme = "README.md" @@ -142,4 +142,4 @@ module-root = "skyvern" tests-root = "codeflash-tests" test-framework = "pytest" ignore-paths = ["skyvern/client"] -formatter-cmds = ["ruff check --exit-zero --fix $file", "ruff format $file"] \ No newline at end of file +formatter-cmds = ["ruff check --exit-zero --fix $file", "ruff format $file"] diff --git a/skyvern/cli/commands.py b/skyvern/cli/commands.py index 0ca9fa65..d45e0461 100644 --- a/skyvern/cli/commands.py +++ b/skyvern/cli/commands.py @@ -404,7 +404,10 @@ async def _setup_local_organization() -> str: """ Returns the API key for the local organization generated """ - skyvern_agent = SkyvernAgent() + skyvern_agent = SkyvernAgent( + base_url=settings.SKYVERN_BASE_URL, + api_key=settings.SKYVERN_API_KEY, + ) organization = await skyvern_agent.get_organization() org_auth_token = await app.DATABASE.get_valid_org_auth_token( @@ -693,6 +696,7 @@ def setup_mcp() -> None: @run_app.command(name="server") def run_server() -> None: load_dotenv() + load_dotenv(".env") from skyvern.config import settings port = settings.PORT