shu/fix cli (#2086)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "skyvern"
|
||||
version = "0.1.70"
|
||||
version = "0.1.71"
|
||||
description = ""
|
||||
authors = ["Skyvern AI <info@skyvern.com>"]
|
||||
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"]
|
||||
formatter-cmds = ["ruff check --exit-zero --fix $file", "ruff format $file"]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user