Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
fix bug (#2249)
Shuchang Zheng53f4c23ef990
diff --git a/skyvern/forge/sdk/api/llm/config_registry.py b/skyvern/forge/sdk/api/llm/config_registry.pyindex 9d1bad698..e82ca8447 100644--- a/skyvern/forge/sdk/api/llm/config_registry.py+++ b/skyvern/forge/sdk/api/llm/config_registry.py@@ -739,9 +739,9 @@ if settings.ENABLE_NOVITA:# Set the value of my_vertex_credentials as the environment variable VERTEX_CREDENTIALSif settings.ENABLE_VERTEX_AI:LLMConfigRegistry.register_config(- "VERTEX_GEMINI_2.5_PRO_EXP_03_25",+ "VERTEX_GEMINI_2.5_FLASH_PREVIEW_04_17",LLMConfig(- "vertex_ai/gemini-2.5-pro-preview-03-25",+ "vertex_ai/gemini-2.5-flash-preview-04-17",["VERTEX_CREDENTIALS"],supports_vision=True,add_assistant_prefix=False,diff --git a/skyvern/webeye/actions/handler.py b/skyvern/webeye/actions/handler.pyindex 8a60a5b7a..15df13be1 100644--- a/skyvern/webeye/actions/handler.py+++ b/skyvern/webeye/actions/handler.py@@ -2464,7 +2464,7 @@ async def select_from_emerging_elements(task_id=task.task_id,)- action_type_str: str = json_response.get("action_type", "")+ action_type_str: str = json_response.get("action_type", "") or ""action_type = ActionType(action_type_str.lower())element_id: str | None = json_response.get("id", None)if not element_id or action_type not in [ActionType.CLICK, ActionType.INPUT_TEXT]:@@ -2590,7 +2590,7 @@ async def select_from_dropdown(task_id=task.task_id,)- action_type: str = json_response.get("action_type", "")+ action_type: str = json_response.get("action_type", "") or ""action_type = action_type.lower()single_select_result.action_type = ActionType(action_type)element_id: str | None = json_response.get("id", None)