diff --git a/.env.example b/.env.example index 34647566..1ccbf695 100644 --- a/.env.example +++ b/.env.example @@ -32,6 +32,8 @@ AZURE_GPT4O_MINI_API_VERSION="" # LLM_KEY: The chosen language model to use. This should be one of the models # provided by the enabled LLM providers (e.g., OPENAI_GPT4_TURBO, OPENAI_GPT4V, ANTHROPIC_CLAUDE3, AZURE_OPENAI_GPT4V). LLM_KEY="" +# a cheaper LLM providers to help finishing some small tasks, like custom selection or svg conversion. If empty, it will be the same as LLM_KEY +SECONDARY_LLM_KEY="" # Web browser configuration for scraping: # BROWSER_TYPE: Can be either "chromium-headless" or "chromium-headful". diff --git a/skyvern/webeye/actions/handler.py b/skyvern/webeye/actions/handler.py index 64800a23..87617d48 100644 --- a/skyvern/webeye/actions/handler.py +++ b/skyvern/webeye/actions/handler.py @@ -550,7 +550,6 @@ async def handle_select_option_action( ) await incremental_scraped.get_incremental_element_tree(app.AGENT_FUNCTION.cleanup_element_tree) - # TODO: maybe take a screenshot for every tree head element to figure out which is the dropdown menu html = incremental_scraped.build_html_tree() target_value = action.option.label or action.option.value