mirror of https://github.com/langgenius/dify.git
hotfix: fix multiple case match syntax (#24204)
This commit is contained in:
parent
4c1ad40f8e
commit
870e3daa95
|
|
@ -532,7 +532,7 @@ class LLMGenerator:
|
|||
model=model_config.get("name", ""),
|
||||
)
|
||||
match node_type:
|
||||
case "llm", "agent":
|
||||
case "llm" | "agent":
|
||||
system_prompt = LLM_MODIFY_PROMPT_SYSTEM
|
||||
case "code":
|
||||
system_prompt = LLM_MODIFY_CODE_SYSTEM
|
||||
|
|
|
|||
Loading…
Reference in New Issue