Fix default value for stream in chat2

This commit is contained in:
Hayden Johnson 2024-09-25 14:44:54 -07:00
parent 8007943581
commit 4ae07a97af

View file

@ -136,7 +136,7 @@ def chat(message, stream=True):
history.append({"role": 'assistant', 'content': result}) history.append({"role": 'assistant', 'content': result})
return result return result
def chat2(args, user_input, stream=False): def chat2(args, user_input, stream=True):
if args.reflect: if args.reflect:
result = reflection_mode(user_input, stream) result = reflection_mode(user_input, stream)
else: else: