Add Wordle scoring context so LLM knows lower is better

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-24 18:05:41 -05:00
parent f457240e62
commit 943c67cc87

View File

@@ -113,7 +113,12 @@ class WordleCog(commands.Cog):
return
# Build context for the LLM
context_parts = [f"[Wordle bot posted in #{message.channel.name}]"]
context_parts = [
f"[Wordle bot posted in #{message.channel.name}]",
"[Wordle scoring: players guess a 5-letter word in up to 6 tries. "
"LOWER is BETTER — 1/6 is a genius guess, 2/6 is incredible, 3/6 is great, "
"4/6 is mediocre, 5/6 is rough, 6/6 barely scraped by, X/6 means they failed]",
]
if parsed["type"] == "results":
context_parts.append("[This is a Wordle results summary]")