update langchain integration (#2388)

This commit is contained in:
LawyZheng
2025-05-19 16:07:02 +08:00
committed by GitHub
parent 19ab386100
commit f9d3f3e2dc
6 changed files with 907 additions and 433 deletions

View File

@@ -1,13 +1,13 @@
from typing import Literal
from dotenv import load_dotenv
from pydantic_settings import BaseSettings
from skyvern.schemas.runs import RunEngine
class Settings(BaseSettings):
api_key: str = ""
base_url: str = "https://api.skyvern.com"
engine: Literal["TaskV1", "TaskV2"] = "TaskV2"
engine: RunEngine = RunEngine.skyvern_v2
run_task_timeout_seconds: int = 60 * 60
class Config: