This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dify
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
152
Wiki
Activity
Browse Source
hotfix: fix multiple case match syntax (
#24204
)
tags/1.8.0
NeatGuyCoding
2 months ago
parent
4c1ad40f8e
commit
870e3daa95
No account linked to committer's email address
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
api/core/llm_generator/llm_generator.py
+ 1
- 1
api/core/llm_generator/llm_generator.py
View File
@@ -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
Write
Preview
Loading…
Cancel
Save