diff --git a/euclid/helpers/cli.py b/euclid/helpers/cli.py index dd454fb..3289d06 100644 --- a/euclid/helpers/cli.py +++ b/euclid/helpers/cli.py @@ -155,6 +155,9 @@ def run_command_until_success(command, timeout, convo): if command_executed: break + print(colored(f'Got incorrect CLI response:', 'red')) + print(cli_response) + print(colored('-------------------', 'red')) debugging_plan = convo.send_message('dev_ops/debug.prompt', { 'command': command, 'debugging_try_num': i }, DEBUG_STEPS_BREAKDOWN) diff --git a/euclid/utils/llm_connection.py b/euclid/utils/llm_connection.py index 2d9c3f9..cfc006e 100644 --- a/euclid/utils/llm_connection.py +++ b/euclid/utils/llm_connection.py @@ -136,6 +136,7 @@ def stream_gpt_completion(data, req_type): gpt_response += content print(content, end='', flush=True) + print('\n') if function_calls['arguments'] != '': logger.info(f'Response via function call: {function_calls["arguments"]}') function_calls['arguments'] = json_loads_with_escape(function_calls['arguments'])