setting up a separate handler for parse input or select, for experiment (#3449)

This commit is contained in:
pedrohsdb
2025-09-16 19:05:18 -07:00
committed by GitHub
parent 7aedc748e4
commit 9742112449
3 changed files with 8 additions and 1 deletions

View File

@@ -3723,7 +3723,8 @@ async def _get_input_or_select_context(
action_reasoning=action.reasoning,
element_id=action.element_id,
)
json_response = await app.SECONDARY_LLM_API_HANDLER(
# Use centralized parse-select handler (set at init or via scripts)
json_response = await app.PARSE_SELECT_LLM_API_HANDLER(
prompt=prompt, step=step, prompt_name="parse-input-or-select-context"
)
json_response["intention"] = action.intention