From 54588748b036cc5371a011ab7f22715c4d17b7c1 Mon Sep 17 00:00:00 2001 From: jschang19 Date: Tue, 19 Dec 2023 23:06:02 +0800 Subject: [PATCH] fix: cout error --- ChatGPT/include/Game.h | 6 +++--- ChatGPT/src/ChatGPT.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChatGPT/include/Game.h b/ChatGPT/include/Game.h index 6acc3cc..f17ffcc 100644 --- a/ChatGPT/include/Game.h +++ b/ChatGPT/include/Game.h @@ -67,9 +67,9 @@ class Game { void parseEndingResponse(OpenAI::ChatCompletion& chatCompletion) { nlohmann::json j2; try { - for(auto &choice: chatCompletion.choices){ - std::cout<