use secondary llm to generate workflow parameters for script generation (#3522)

This commit is contained in:
Shuchang Zheng
2025-09-24 17:16:51 -04:00
committed by GitHub
parent 0ef1419d8b
commit 96556bf807

View File

@@ -112,7 +112,7 @@ async def _generate_field_names_with_llm(custom_field_actions: List[Dict[str, An
template="generate-workflow-parameters", custom_field_actions=custom_field_actions
)
response = await app.LLM_API_HANDLER(prompt=prompt, prompt_name="generate-workflow-parameters")
response = await app.SECONDARY_LLM_API_HANDLER(prompt=prompt, prompt_name="generate-workflow-parameters")
return GeneratedFieldMapping.model_validate(response)