Przeglądaj źródła

hotfix: fix multiple case match syntax (#24204)

tags/1.8.0
NeatGuyCoding 2 miesięcy temu
rodzic
commit
870e3daa95
No account linked to committer's email address
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      api/core/llm_generator/llm_generator.py

+ 1
- 1
api/core/llm_generator/llm_generator.py Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz