diff --git a/plugin.py b/plugin.py index 5d3faf6..62f86df 100644 --- a/plugin.py +++ b/plugin.py @@ -91,8 +91,8 @@ class Chat(callbacks.Plugin): # Get the last few lines of the chat scrollback to include in the prompt history = irc.state.history[-self.registryValue("scrollback_lines"):] - for message in history: - self.log.info(f"{message.nick}: {json.dumps(message.args)}") + # for message in history: + # self.log.info(f"{message.nick}: {json.dumps(message.args)}") # Restrict the scrollback to PRIVMSGs in the current channel, filtering out the invocation prefix filtered_messages = [ @@ -112,7 +112,7 @@ class Chat(callbacks.Plugin): # Combine the system prompt, and the scrollback (which already includes the invocation) messages = [{"role": "system", "content": system_prompt}] + conversation_history - self.log.info(json.dumps(messages)) + # self.log.info(json.dumps(messages)) # Submit the request to the API # res = requests.post(f"http://localhost:8000/capture", headers = {