From 11f1e7eedeb579f7bad5ba43f799e801e0cace12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Wed, 18 Sep 2024 16:45:47 +0200 Subject: [PATCH] fix: nitpick --- gptme/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gptme/prompts.py b/gptme/prompts.py index 2ef210b7..51030116 100644 --- a/gptme/prompts.py +++ b/gptme/prompts.py @@ -28,7 +28,7 @@ def get_prompt(prompt: PromptType | str = "full", interactive: bool = True) -> M elif prompt == "short": msgs = prompt_short(interactive) else: - return Message("system", prompt) + msgs = [Message("system", prompt)] # combine all the system prompt messages into one, # also hide them and pin them to the top