From 2af48e159caa321c2b545a25d74f6c336797c958 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 29 Oct 2024 12:42:31 -0700 Subject: [PATCH] feat: add encoding hint for file loading in commands --- aider/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/commands.py b/aider/commands.py index f6981de95..cade78e3c 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1252,6 +1252,7 @@ class Commands: self.io.tool_error("Please provide a filename containing commands to load.") return + #ai use io.encoding, ignore decode errs! try: with open(args.strip(), "r") as f: commands = f.readlines()