Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix the forgotten + symbol in parse_ability_result(...) in parser.py (#5028)

Cyrus12d126339e86
diff --git a/autogpt/core/runner/client_lib/parser.py b/autogpt/core/runner/client_lib/parser.py
index 9246ea82df..5435c88ba9 100755
--- a/autogpt/core/runner/client_lib/parser.py
+++ b/autogpt/core/runner/client_lib/parser.py
@@ -39,7 +39,7 @@ def parse_next_ability(current_task, next_ability: dict) -> str:
def parse_ability_result(ability_result) -> str:
parsed_response = f"Ability: {ability_result['ability_name']}\n"
parsed_response += f"Ability Arguments: {ability_result['ability_args']}\n"
- parsed_response = f"Ability Result: {ability_result['success']}\n"
+ parsed_response += f"Ability Result: {ability_result['success']}\n"
parsed_response += f"Message: {ability_result['message']}\n"
parsed_response += f"Data: {ability_result['new_knowledge']}\n"
return parsed_response