This commit is contained in:
justumen
2024-12-17 14:38:57 +01:00
parent eabe9f2e10
commit 50ee5779c0
1695 changed files with 20285 additions and 18 deletions

View File

@@ -43,7 +43,7 @@ class OllamaSystemPersonaSelector:
RETURN_TYPES = ("OLLAMA_PERSONA", "STRING",)
RETURN_NAMES = ("OLLAMA_PERSONA", "prompt_text")
FUNCTION = "get_system_prompt"
CATEGORY = "ollama"
CATEGORY = "Bjornulf"
def get_system_prompt(self, selected_prompt, custom_prompt_prefix):
# space only if self.SYSTEM_PERSONAS[selected_prompt] isn't empty