small fix and more prompt examples

This commit is contained in:
Kwindla Hultman Kramer
2024-11-04 16:28:31 -08:00
parent b6c2c1f730
commit 91ac40307e
2 changed files with 69 additions and 19 deletions

View File

@@ -94,7 +94,7 @@ class StatementJudgeContextFilter(FrameProcessor):
elif isinstance(message["content"], list):
for content in message["content"]:
if content["type"] == "text":
user_text_messages.append(content["text"])
user_text_messages.insert(0, content["text"])
# If we have any user text content, push an LLMMessagesFrame
if user_text_messages:
logger.debug(f"User text messages: {user_text_messages}")