diff --git a/cli.py b/cli.py index 3dbbc4db..b294af12 100644 --- a/cli.py +++ b/cli.py @@ -43,7 +43,11 @@ async def async_main(): args = parser.parse_args() if os.path.exists(args.logs_path): - os.remove(args.logs_path) + try: + os.remove(args.logs_path) + except PermissionError: + # File is in use, just continue + pass logger_for_agent_logs = logging.getLogger("agent_logs") logger_for_agent_logs.setLevel(logging.DEBUG) # Prevent propagation to root logger to avoid duplicate logs diff --git a/frontend/components/question-input.tsx b/frontend/components/question-input.tsx index 4c9f3d1f..ebdce05b 100644 --- a/frontend/components/question-input.tsx +++ b/frontend/components/question-input.tsx @@ -249,7 +249,7 @@ const QuestionInput = ({
- +