add SkyvernClient (#1943)
This commit is contained in:
@@ -5,7 +5,6 @@ from skyvern.forge.sdk.api.llm.exceptions import (
|
||||
DuplicateLLMConfigError,
|
||||
InvalidLLMConfigError,
|
||||
MissingLLMProviderEnvVarsError,
|
||||
NoProviderEnabledError,
|
||||
)
|
||||
from skyvern.forge.sdk.api.llm.models import LiteLLMParams, LLMConfig, LLMRouterConfig
|
||||
|
||||
@@ -55,7 +54,10 @@ if not any(
|
||||
settings.ENABLE_NOVITA,
|
||||
]
|
||||
):
|
||||
raise NoProviderEnabledError()
|
||||
LOG.warning(
|
||||
"At least one LLM provider must be enabled. Run setup.sh and follow through the LLM provider setup, or "
|
||||
"update the .env file (check out .env.example to see the required environment variables)."
|
||||
)
|
||||
|
||||
|
||||
if settings.ENABLE_OPENAI:
|
||||
|
||||
@@ -674,7 +674,7 @@ async def get_workflow_runs_by_id(
|
||||
"/workflows/{workflow_id}/runs/{workflow_run_id}/",
|
||||
include_in_schema=False,
|
||||
)
|
||||
async def get_workflow_run(
|
||||
async def get_workflow_run_with_workflow_id(
|
||||
workflow_id: str,
|
||||
workflow_run_id: str,
|
||||
current_org: Organization = Depends(org_auth_service.get_current_org),
|
||||
@@ -721,7 +721,7 @@ async def get_workflow_run_timeline(
|
||||
response_model=WorkflowRunStatusResponse,
|
||||
include_in_schema=False,
|
||||
)
|
||||
async def get_workflow_run_by_run_id(
|
||||
async def get_workflow_run(
|
||||
workflow_run_id: str,
|
||||
current_org: Organization = Depends(org_auth_service.get_current_org),
|
||||
) -> WorkflowRunStatusResponse:
|
||||
|
||||
Reference in New Issue
Block a user