From 792f12b92523e02a27513bbbe9f7fbe71d4ee1c5 Mon Sep 17 00:00:00 2001 From: Cam Spry Date: Sun, 1 Mar 2026 08:56:30 -0500 Subject: [PATCH] LLM stuff --- bots/LLMBot.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bots/LLMBot.js b/bots/LLMBot.js index bef4b18..25aae9b 100644 --- a/bots/LLMBot.js +++ b/bots/LLMBot.js @@ -31,7 +31,9 @@ Keep it short, fun, and on-topic.`; async Write(story_so_far) { const msg = `${this.writePrompt}\n\nStory so far:\n${story_so_far}`; - return (await this.llm.chat(msg)).trim(); + const llm_response = await this.llm.chat(msg); + console.log(`Received response from LLM: ${llm_response}`) + return llm_response.trim(); } async Vote(story_so_far, choices) {