update env and remove useless comment (#676)
This commit is contained in:
@@ -32,6 +32,8 @@ AZURE_GPT4O_MINI_API_VERSION=""
|
|||||||
# LLM_KEY: The chosen language model to use. This should be one of the models
|
# 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).
|
# provided by the enabled LLM providers (e.g., OPENAI_GPT4_TURBO, OPENAI_GPT4V, ANTHROPIC_CLAUDE3, AZURE_OPENAI_GPT4V).
|
||||||
LLM_KEY=""
|
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:
|
# Web browser configuration for scraping:
|
||||||
# BROWSER_TYPE: Can be either "chromium-headless" or "chromium-headful".
|
# BROWSER_TYPE: Can be either "chromium-headless" or "chromium-headful".
|
||||||
|
|||||||
@@ -550,7 +550,6 @@ async def handle_select_option_action(
|
|||||||
)
|
)
|
||||||
|
|
||||||
await incremental_scraped.get_incremental_element_tree(app.AGENT_FUNCTION.cleanup_element_tree)
|
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()
|
html = incremental_scraped.build_html_tree()
|
||||||
|
|
||||||
target_value = action.option.label or action.option.value
|
target_value = action.option.label or action.option.value
|
||||||
|
|||||||
Reference in New Issue
Block a user