LLM stuff

This commit is contained in:
Cam Spry committed 2026-03-01 08:56:30 -05:00
1 parent b06e772d2e
commit 792f12b925
1 file changed
+3 -1
+3 -1
View File
@@ -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) {