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.

Removes logging and uses new config token limit.

Toran Bruce Richards109b9288a7ba
diff --git a/scripts/main.py b/scripts/main.py
index caf65ecf7b..48093cf458 100644
--- a/scripts/main.py
+++ b/scripts/main.py
@@ -272,10 +272,9 @@ cfg = Config()
parse_arguments()
ai_name = ""
prompt = construct_prompt()
-print(prompt)
+# print(prompt)
# Initialize variables
full_message_history = []
-token_limit = cfg.thinking_token_limit # The maximum number of tokens allowed in the API call
result = None
# Make a constant:
user_input = "Determine which next command to use, and respond using the format specified above:"
@@ -289,9 +288,9 @@ while True:
user_input,
full_message_history,
mem.permanent_memory,
- token_limit)
+ cfg.fast_token_limit) # TODO: This hardcodes the model to use GPT3.5. Make this an argument
- print("assistant reply: "+assistant_reply)
+ # print("assistant reply: "+assistant_reply)
# Print Assistant thoughts
print_assistant_thoughts(assistant_reply)