mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
Attempt to improve JSON handling in GPT-3
This commit is contained in:
@@ -26,7 +26,7 @@ def chat_with_ai(
|
||||
full_message_history,
|
||||
permanent_memory,
|
||||
token_limit,
|
||||
debug=False):
|
||||
debug=True):
|
||||
while True:
|
||||
try:
|
||||
"""
|
||||
@@ -62,7 +62,7 @@ def chat_with_ai(
|
||||
print("----------- END OF CONTEXT ----------------")
|
||||
|
||||
response = openai.ChatCompletion.create(
|
||||
model="gpt-4",
|
||||
model="gpt-3.5-turbo",#model="gpt-4",
|
||||
messages=current_context,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user