Fix default value for stream in chat2
This commit is contained in:
parent
8007943581
commit
4ae07a97af
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue